IndieGame/client/Packages/com.unity.inputsystem@1.7.0/InputSystem/Plugins/UI/NavigationModel.cs

21 lines
437 B
C#
Raw Normal View History

2024-10-11 10:12:15 +08:00
#if UNITY_INPUT_SYSTEM_ENABLE_UI
using UnityEngine.EventSystems;
namespace UnityEngine.InputSystem.UI
{
internal struct NavigationModel
{
public Vector2 move;
public int consecutiveMoveCount;
public MoveDirection lastMoveDirection;
public float lastMoveTime;
public AxisEventData eventData;
public void Reset()
{
move = Vector2.zero;
}
}
}
#endif