UNDER CONSTRUCTION:
Dropdown
-
Can associate each dropdown list option with an array of property names to hide when it is selected.
-
Only works for properties that appear after the dropdown in the properties list.
-
-
Requires a [KeywordEnum()] or [Enum()] attributes with matching dropdown list options.
-
Requires the Float type.
Example:
[KeywordEnum(Option1, Option2)]
_Example ("'Example' {Dropdown:{Option1:{_PropToHide1, _PropToHide2}, Option2:{}}}", Float) = 0
_PropToHide1 ("’Prop To Hide1’ {}", Float) = 0
_PropToHide2 ("’Prop To Hide2’ {}", Float) = 0
[Enum(Option1, 0, Option2, 1)]
_Example ("'Example' {Dropdown:{Option1:{}, Option2:{}}}", Float) = 0
Option without any property drawers.
Option with Unity toggle.