Maze / Library /PackageCache /com.unity.inputsystem@1.6.1 /InputSystem /Plugins /UI /ExtendedAxisEventData.cs
| using UnityEngine.EventSystems; | |
| namespace UnityEngine.InputSystem.UI | |
| { | |
| // AxisEventData has no ToString. But that's the only thing we add so keeping | |
| // it internal. | |
| internal class ExtendedAxisEventData : AxisEventData | |
| { | |
| public ExtendedAxisEventData(EventSystem eventSystem) | |
| : base(eventSystem) | |
| { | |
| } | |
| public override string ToString() | |
| { | |
| return $"MoveDir: {moveDir}\nMoveVector: {moveVector}"; | |
| } | |
| } | |
| } | |