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 |
|---|---|---|
| DisableReordering | Hide grab handles and disable reordering of list items. |
1 |
| HideAddButton | Hide add button at base of control. |
2 |
| HideRemoveButtons | Hide remove buttons from list items. |
4 |
| DisableContextMenu | Do not display context menu upon right-clicking grab handle. |
8 |
| DisableDuplicateCommand | Hide "Duplicate" option from context menu. |
16 |
| DisableAutoFocus | Do not automatically focus first control of newly added items. |
32 |
| ShowIndices | Show zero-based index of array elements. |
64 |
| DisableClipping | 128 | |
| 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. |
256 |
| ShowSizeField | Show "Size" field at base of list control. |
512 |