Это видео недоступно.
Сожалеем об этом.

Custom Attribute Processors with Odin Inspector

Поделиться
HTML-код
  • Опубликовано: 7 фев 2020
  • Need to add attributes to 3rd party code? Can't access source code for an asset and still want to modify the inspector? With custom attribute processors and Odin Inspector, you can do that!
    Tutorial Files: github.com/onewheelstudio/Dev...
    Custom Attribute Processor Tutorial: odininspector.com/tutorials/u...
    Inspector Property Documentation: odininspector.com/documentati...
    Member Info Documentation: docs.microsoft.com/en-us/dotn...
    Buy Odin Inspector: odininspector.com/pricing
    Odin Inspector: odininspector.com/
    More Odin Tutorials: odininspector.com/tutorials
    Odin Attributes: odininspector.com/attributes
    Devdog Discord: / discord
    Buy Odin Project Validator: odininspector.com/odin-projec...
    Assets Used in the Video (Affiliate Links)
    Sun Temple: assetstore.unity.com/packages...
    #devdog #odininspector #unitygamedevelopment

Комментарии • 7

  • @CrazySovietIngeneere
    @CrazySovietIngeneere 4 года назад +1

    useful, if u have big classes

  • @CrazySovietIngeneere
    @CrazySovietIngeneere 4 года назад +3

    but why you do not use nameof(var_name) instead "var_name"?

    • @BlakeGillman
      @BlakeGillman 7 месяцев назад

      So that if you ever change the name of the variable, the code automatically updates it.
      If you had just hard-typed the name like that, if you ever changed its name, you'd need to manually find & re-type the name wherever you used it.

  • @christiankoch9516
    @christiankoch9516 4 года назад +1

    The word "attribute" sounds weird now. Great video

  • @MrHandsy
    @MrHandsy 4 года назад

    Would this work with something like Behavior Designer, where Actions, Decorators, etc are typically drawn by Behavior Designer?

    • @OneWheelStudio
      @OneWheelStudio 4 года назад +1

      Those assets likely use custom inspector scripts, which unfortunately would not work with a custom attribute processor since Odin isn't drawing the inspector.

    • @MadaraBleepface
      @MadaraBleepface 7 месяцев назад

      @@OneWheelStudio Hi, I recognize you from your Nova UI video. Do you perhaps know a way to use Odin with Nova's ItemView component, specifically to add Odin functionality to the ItemVisuals?