Reorderable List Control for Unity
- Namespaces
- Rotorz.ReorderableList
- ReorderableListGUI
- ListFieldAbsolute<(Of <<'(T>)>>)(Rect, IList<(Of <<'(T>)>>), ReorderableListControl..::..ItemDrawer<(Of <<'(T>)>>), ReorderableListControl..::..DrawEmptyAbsolute, ReorderableListFlags)
ListFieldAbsolute<(Of <(<'T>)>)> Method (position, list, drawItem, drawEmpty, flags)
Draw list field control.
public static void ListFieldAbsolute<T>( Rect position, IList<T> list, ReorderableListControl..::..ItemDrawer<T> drawItem, ReorderableListControl..::..DrawEmptyAbsolute drawEmpty, 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).
- flags (ReorderableListFlags) (Optional)
- Optional flags to pass into list field.