ReorderableListGUIListField Method (SerializedProperty, Single, ReorderableListControlDrawEmpty) |
Draw list field control for serializable property array.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic static void ListField(
SerializedProperty arrayProperty,
float fixedItemHeight,
ReorderableListControlDrawEmpty drawEmpty
)
public static function ListField(
arrayProperty : SerializedProperty,
fixedItemHeight : float,
drawEmpty : ReorderableListControlDrawEmpty
)
Parameters
- arrayProperty
- Type: SerializedProperty
Serializable property. - fixedItemHeight
- Type: SystemSingle
Use fixed height for items rather than GetPropertyHeight(SerializedProperty). - drawEmpty
- Type: Rotorz.ReorderableListReorderableListControlDrawEmpty
Callback to draw custom content for empty list (optional).
See Also