UnityGame/Library/PackageCache/com.unity.inputsystem/InputSystem/Plugins/UI/NavigationModel.cs

21 lines
437 B
C#
Raw Permalink Normal View History

2024-10-27 10:53:47 +03: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