Firstborn/Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Plugins/UI/ExtendedAxisEventData.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

22 lines
557 B
C#

#if PACKAGE_DOCS_GENERATION || UNITY_INPUT_SYSTEM_ENABLE_UI
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}";
}
}
}
#endif