Click or drag to resize
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)
Syntax
public static void ListField<T>(
	IList<T> list,
	ReorderableListControlItemDrawer<T> drawItem,
	ReorderableListControlDrawEmpty drawEmpty,
	float itemHeight
)

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.
See Also