I have a LevelEditor script which has a custom inspector editor built with UIBuilder and UIElements.
The problem is that i would like to cache references inside a list but i do not want to make a custom list view for it (it's kinda hard to implement in UIElements and not worth the time) so i thought i would just make the private List<MyType> _myVar; as [Serializefield] and then draw the DefaultInspector below the custom one.
I found a method that does this DrawDefaultInspector but unfortunately it does nothing.
public override VisualElement CreateInspectorGUI()
{
_visualTree.CloneTree(_rootElement);
// My custom editor code
...
DrawDefaultInspector();
return _rootElement;
}
Any help is appreciated...
