A game about forced loneliness, made by TACStudios
at master 25 lines 684 B view raw
1namespace UnityEngine.EventSystems 2{ 3 /// <summary> 4 /// Event Data associated with Axis Events (Controller / Keyboard). 5 /// </summary> 6 public class AxisEventData : BaseEventData 7 { 8 /// <summary> 9 /// Raw input vector associated with this event. 10 /// </summary> 11 public Vector2 moveVector { get; set; } 12 13 /// <summary> 14 /// MoveDirection for this event. 15 /// </summary> 16 public MoveDirection moveDir { get; set; } 17 18 public AxisEventData(EventSystem eventSystem) 19 : base(eventSystem) 20 { 21 moveVector = Vector2.zero; 22 moveDir = MoveDirection.None; 23 } 24 } 25}