ReorderableListGUI.ListField(T) Method (IList(T), ReorderableListControl.ItemDrawer(T), ReorderableListFlags)

Rotorz ReorderableList

ReorderableListGUIListFieldT Method (IListT, ReorderableListControlItemDrawerT, ReorderableListFlags)
Draw list field control.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
public static void ListField<T>(
	IList<T> list,
	ReorderableListControlItemDrawer<T> drawItem,
	ReorderableListFlags flags
)
public static function ListField.<T>(
	list : IList<T>,
	drawItem : ReorderableListControlItemDrawer<T>,
	flags : ReorderableListFlags
)

Parameters

list
Type: System.Collections.GenericIListT
The list which can be reordered.
drawItem
Type: Rotorz.ReorderableListReorderableListControlItemDrawerT
Callback to draw list item.
flags
Type: Rotorz.ReorderableListReorderableListFlags
Optional flags to pass into list field.

Type Parameters

T
Type of list item.
See Also