Reorderable List Control for Unity
ReorderableListGUIListFieldT Method (IListT, ReorderableListControlItemDrawerT, ReorderableListControlDrawEmpty, Single, ReorderableListFlags) |
Draw list field control.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)

public static void ListField<T>( IList<T> list, ReorderableListControlItemDrawer<T> drawItem, ReorderableListControlDrawEmpty drawEmpty, float itemHeight, ReorderableListFlags flags )
public static function ListField.<T>( list : IList<T>, drawItem : ReorderableListControlItemDrawer<T>, drawEmpty : ReorderableListControlDrawEmpty, itemHeight : float, flags : ReorderableListFlags )
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). - itemHeight
- Type: SystemSingle
Height of a single list item. - flags
- Type: Rotorz.ReorderableListReorderableListFlags
Optional flags to pass into list field.
Type Parameters
- T
- Type of list item.
