Это видео недоступно.
Сожалеем об этом.
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
useful, if u have big classes
but why you do not use nameof(var_name) instead "var_name"?
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.
The word "attribute" sounds weird now. Great video
Would this work with something like Behavior Designer, where Actions, Decorators, etc are typically drawn by Behavior Designer?
Those assets likely use custom inspector scripts, which unfortunately would not work with a custom attribute processor since Odin isn't drawing the inspector.
@@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?