NavigationMoveEvent
Event typically sent when the user presses the D-pad, moves a joystick or presses the arrow keys.
Read time 2 minutesLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: NavigationEventBase<NavigationMoveEvent>
- Implements: IDisposable, INavigationEvent
public class NavigationMoveEvent : NavigationEventBase<NavigationMoveEvent>, IDisposable, INavigationEvent
Constructors
Constructor | Description |
|---|---|
| NavigationMoveEvent() | Constructor. |
Properties
Methods
Method | Description |
|---|---|
| Init | Initialize the event members. |
Static Methods
Method | Description |
|---|---|
| GetPooled | Gets an event from the event pool and initializes it with the given values. Use this function instead of creating new events. Events obtained from this method should be released back to the pool using Dispose(). |
Enums
Enum | Description |
|---|---|
| NavigationMoveEvent.Direction | Move event direction. |