diff options
author | chai <chaifix@163.com> | 2020-10-08 09:50:33 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-08 09:50:33 +0800 |
commit | 00dae1bd426d892dff73a50f1c505afd1ac00a90 (patch) | |
tree | 5d75f8495406f5b8dd01595e3dd9216887996a34 /Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs |
+init
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs')
-rw-r--r-- | Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs b/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs new file mode 100644 index 0000000..3278d6d --- /dev/null +++ b/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs @@ -0,0 +1,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; + } + } +} |