summaryrefslogtreecommitdiff
path: root/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs
blob: 3278d6dfe5ec877c94efa222a76e5b73ccfc270b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace UnityEngine.EventSystems
{
    public class AxisEventData : BaseEventData
    {
        public Vector2 moveVector { get; set; }
        public MoveDirection moveDir { get; set; }

        public AxisEventData(EventSystem eventSystem)
            : base(eventSystem)
        {
            moveVector = Vector2.zero;
            moveDir = MoveDirection.None;
        }
    }
}