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