summaryrefslogtreecommitdiff
path: root/Assets/uGUI-2017.1/UnityEngine.UI/EventSystem/EventData/AxisEventData.cs
diff options
context:
space:
mode:
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.cs15
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;
+ }
+ }
+}