Unity-Technologies / UIElementsExamples

Unity project containing examples to use UIElements in the Editor
435 stars 66 forks source link

confused by UIElementsEditor #22

Open SetoKaiba opened 5 years ago

SetoKaiba commented 5 years ago

The example comes with TankEditor extends UIElementsEditor. It creates VisualElement in CreateInspectorGUI() method. But draw IMGUI in OnInspectorGUI(). It seems that the CreateInspectorGUI does nothing.

alsoporter commented 5 years ago

Maybe UIElements isn't working properly in Editor yet.

momo-the-monster commented 4 years ago

I've hit this same issue - I'm working on a product that needs to work in Unity 2018.4, and it looks like CreateInspectorGUI is never actually called in this version.