Class AxisEventData
Event Data associated with Axis Events (Controller / Keyboard).
Inherited Members
Namespace: UnityEngine.EventSystems
Assembly: UnityEngine.UI.dll
Syntax
public class AxisEventData : BaseEventData
Constructors
AxisEventData(EventSystem)
Declaration
public AxisEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
Properties
moveDir
MoveDirection for this event.
Declaration
public MoveDirection moveDir { get; set; }
Property Value
Type | Description |
---|---|
MoveDirection |
moveVector
Raw input vector associated with this event.
Declaration
public Vector2 moveVector { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |