Reorderable List Control for Unity
- Namespaces
- Rotorz.ReorderableList
- ReorderableListGUI
- ListFieldAbsolute<(Of <<'(T>)>>)(Rect, IList<(Of <<'(T>)>>), ReorderableListControl..::..ItemDrawer<(Of <<'(T>)>>), ReorderableListControl..::..DrawEmptyAbsolute, Single, ReorderableListFlags)
ListFieldAbsolute<(Of <(<'T>)>)> Method (position, list, drawItem, drawEmpty, itemHeight, flags)
Draw list field control.
public static void ListFieldAbsolute<T>( Rect position, IList<T> list, ReorderableListControl..::..ItemDrawer<T> drawItem, ReorderableListControl..::..DrawEmptyAbsolute drawEmpty, float itemHeight, ReorderableListFlags flags = )
Generic Template Parameters
- T
- Type of list item.
Parameters
- position (Rect)
- Position of control.
- list (IList<(Of <(<'T>)>)>)
- The list which can be reordered.
- drawItem (ReorderableListControl..::..ItemDrawer<(Of <(<'T>)>)>)
- Callback to draw list item.
- drawEmpty (ReorderableListControl..::..DrawEmptyAbsolute)
- Callback to draw custom content for empty list (optional).
- itemHeight (Single)
- Height of a single list item.
- flags (ReorderableListFlags) (Optional)
- Optional flags to pass into list field.