Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public class NavigationMoveEvent : NavigationEventBase<NavigationMoveEvent>, IDisposable, INavigationEvent

Constructors

Constructor

Description

NavigationMoveEvent()Constructor.

Properties

Property

Description

directionThe direction of the navigation.
moveThe move vector, if applicable.

Methods

Method

Description

InitInitialize the event members.

Static Methods

Method

Description

GetPooledGets 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.DirectionMove event direction.

Inheritance