I’ve went through the tutorials and examples in the documentation and in the tutorials. I’m loading the editor window from an inspector element (I believe the example is in the documentation manual section).
Now though I need to hide or disable some of the controls based on other controls values. In the editor window I can register a callback and get the value from the ‘anchor’ field and react appropriately. I can’t do that in the ‘Editor’ though as I cannot find where to get the equivalent to the rootVisualElement (editorwindow) in the editor. Or I cannot find out what it is?
I also tried to find out how to do it directly in the stylesheet(uss) as I used to do it that way in css. No luck though.
Any suggestions, other paths to take?
for instance, in the uxml there is a floatfield defined, display perfectly, binds correctly. In the CreateInspectorGUI it’s not bound until the function returns so the value is 0. Once it is loaded it’s value is bound as ‘45’. So I need to disable/hide 3 other fields in the editor.
Thanks in advance,
Bubba