Reorderable List Control for Unity
ReorderableListGUIListFieldT Method (IListT, ReorderableListControlItemDrawerT, ReorderableListControlDrawEmpty, Single) |
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 )
public static function ListField.<T>( list : IList<T>, drawItem : ReorderableListControlItemDrawer<T>, drawEmpty : ReorderableListControlDrawEmpty, itemHeight : float )
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.
Type Parameters
- T
- Type of list item.
