Class ReorderableListHelper
Helper class to manage ReorderableList appearance in the editor.
Namespace: UnityEditor.Animations.Rigging
Syntax
public static class ReorderableListHelper
Methods
Create(SerializedObject, SerializedProperty, Boolean, Boolean)
Creates a ReorderableList using a SerializedProperty array as source.
Declaration
public static ReorderableList Create(SerializedObject obj, SerializedProperty property, bool draggable = true, bool displayHeader = false)
Parameters
Type | Name | Description |
---|---|---|
SerializedObject | obj | SerializedObject owning the SerializedProperty. |
SerializedProperty | property | SerializedProperty array. |
Boolean | draggable | Toggles whether an object is draggable in the list. True when an object is draggable, false otherwise. |
Boolean | displayHeader | Displays the ReorderableList header. |
Returns
Type | Description |
---|---|
UnityEditorInternal.ReorderableList | Returns a new ReorderableList. |