ReorderableList (or similar) for UIElements
I'm writing a custom editor for a class that has a list of objects of another class that I have a custom PropertyDrawer for, using the UIElements system. The people who will be authoring content using this editor do not like Unity's default UI for lists. Using a ReorderableList presentation would be better, but the only ways I know how to create a ReorderableList use IMGUI. I can embed a ReorderableList in my editor with an IMGUIContainer, but it can't use my UIElement property drawer. I can convert the property drawer to IMGUI, but then it stops sending the ChangeEvents that the rest of my code relies on.
Is there a UIElement version of ReorderableList? Alternately, is there some other UIElement-based list presentation that improves on the default?
In Unity 2020.1, the ListView has a reorderable attribute
https://docs.unity3d.com/2020.1/Documentation/ScriptReference/UIElements.ListView-reorderable.html
Not available before this version unfortunately
Your answer
Follow this Question
Related Questions
Adding space() to BeginHorizontal() causes extra vertical spacing after certain amount. 1 Answer
Custom Editor List with child classes 1 Answer
Dynamically sized list of toggles in custom inspector? 0 Answers
How do I draw information, extending the "Project/Assets/" Window? 0 Answers
Undo Redo Custom Editor Error ("Assertion failed on expression: '!GetUndoManager().IsProcessing()'") 0 Answers