KeyboardNavigationOperation
Represents an operation that the user is trying to accomplish through a specific input mechanism.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum KeyboardNavigationOperation
Remarks
Tests the received callback value for KeyboardNavigationManipulator against the values of this enum to implement the operation in your UI.
Fields
Value | Description |
|---|---|
| Begin | Selects the first element. |
| Cancel | Cancels the current UI interaction. |
| End | Selects the last element. |
| MoveLeft | Moves to the left. |
| MoveRight | Moves to the right. |
| Next | Moves down to the next item. |
| None | Default value. Indicates an uninitialized enum value. |
| PageDown | Moves the selection down one page (in a list that has a scrollable area). |
| PageUp | Moves the selection up one page (in a list that has a scrollable area). |
| Previous | Moves up to the previous item. |
| SelectAll | Selects all UI selectable elements or text. |
| Submit | Submits or concludes the current UI interaction. |