UI-Builder Editor-UI
Greetings!
I want to make VisualElement for the inspector, that will collapse if enum value of the object is not equal to desired value, setted from UI-Builder.
To achieve that, i need to specify Type of the enum values.
But since, Type of enum is specified after compilation, it’s not possible to make a value field.
How to make selectable enum value with specified Type, similar to EnumField available in UI-Builder?
Or are there another ways of doing it?