Unity Tutorial - Serializable Dictionary

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 10

  • @deaderontheinside6871
    @deaderontheinside6871 Před 3 měsíci +1

    Oooh property drawers! I've been waiting for this.

  • @hemanthpredator7381
    @hemanthpredator7381 Před 3 měsíci +1

    Im a little late than usual, but really interesting video. This made my life a little easier for my games. Thank you for this awesome tutorial.

  • @tobario
    @tobario Před 3 měsíci +2

    Just yesterday I build a package where I needed exactly that. Crazy coincidence. I just forked a github project to include in my package. But your approach works just as good. Cool tutorial!

    • @IainTheIndie
      @IainTheIndie  Před 3 měsíci +1

      Thankyou! :) It must have been Serializable Dictionary day.

  • @gabriel91744
    @gabriel91744 Před měsícem +1

    Hey! Thank you very much for the tutorial! This is amazing and exactly what I needed. But, I'm currently having a little problem with it. I've made a custom editor for a specific component and the SerializableDictionary doesn't draw. It appears in the inspector as No GUI Implemented.

    • @IainTheIndie
      @IainTheIndie  Před měsícem

      I've used it in setups like that before but there could be something I missed. Can you let me know a few things:
      - Is this within a UI Elements/Toolkit based custom inspector or the previous OnGUI setup?
      - Which version of Unity?

  • @markmak3616
    @markmak3616 Před 23 dny +1

    Thank you for this tutorial but I have one problem, I am using Unity 2022.3.21, and properties overridingAddButtonBehavior and onRemove are not available on this version. Can you advise on how to implement this property drawer? I tried different ways and nothing worked.

    • @IainTheIndie
      @IainTheIndie  Před 23 dny

      Unfortunately in an older version of UI toolkit I don’t think it would be easy to do. Quite a few of the things it’s using are dependent on features in the newer version.