namespace UnityEngine.EventSystems
{
///
/// Event Data associated with Axis Events (Controller / Keyboard).
///
public class AxisEventData : BaseEventData
{
///
/// Raw input vector associated with this event.
///
public Vector2 moveVector { get; set; }
///
/// MoveDirection for this event.
///
public MoveDirection moveDir { get; set; }
public AxisEventData(EventSystem eventSystem)
: base(eventSystem)
{
moveVector = Vector2.zero;
moveDir = MoveDirection.None;
}
}
}