Unity-Technologies / UIElementsExamples

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

TankEditor CustomEditor attribute and OnInspectorGUI method #28

Open tmhbrts opened 4 years ago

tmhbrts commented 4 years ago

I found that in TankEditor.cs, the CustomEditor attribute has been commented out, and there is an overriding OnInspectorGUI method.

I noticed that the custom styling for the inspector is only applied when I uncomment the attribute and remove the OnInspectorGUI method.