Enum ReorderableListFlags
Additional flags which can be passed into reorderable list field.
Namespace: Unity.VisualScripting.ReorderableList
Syntax
[Flags]
public enum ReorderableListFlags
Examples
Multiple flags can be specified if desired:
var flags = ReorderableListFlags.HideAddButton | ReorderableListFlags.HideRemoveButtons;
ReorderableListGUI.ListField(list, flags);
Fields
Name | Description | Value |
---|---|---|
DisableAutoFocus | Do not automatically focus first control of newly added items. |
|
DisableAutoScroll | Do not attempt to automatically scroll when list is inside a scroll view and the mouse pointer is dragged outside of the visible portion of the list. |
|
DisableClipping | ||
DisableContextMenu | Do not display context menu upon right-clicking grab handle. |
|
DisableDuplicateCommand | Hide "Duplicate" option from context menu. |
|
DisableReordering | Hide grab handles and disable reordering of list items. |
|
HideAddButton | Hide add button at base of control. |
|
HideRemoveButtons | Hide remove buttons from list items. |
|
ShowIndices | Show zero-based index of array elements. |
|
ShowSizeField | Show "Size" field at base of list control. |