ReorderableListGUIListFieldT Method (IListT, ReorderableListControlItemDrawerT, ReorderableListControlDrawEmpty) |
Draw list field control.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic static void ListField<T>(
IList<T> list,
ReorderableListControlItemDrawer<T> drawItem,
ReorderableListControlDrawEmpty drawEmpty
)
public static function ListField.<T>(
list : IList<T>,
drawItem : ReorderableListControlItemDrawer<T>,
drawEmpty : ReorderableListControlDrawEmpty
)
Parameters
- list
- Type: System.Collections.GenericIListT
The list which can be reordered. - drawItem
- Type: Rotorz.ReorderableListReorderableListControlItemDrawerT
Callback to draw list item. - drawEmpty
- Type: Rotorz.ReorderableListReorderableListControlDrawEmpty
Callback to draw custom content for empty list (optional).
Type Parameters
- T
- Type of list item.
See Also