VR4Medical/ICI/Library/PackageCache/com.unity.inputsystem@7fe8299111a7/InputSystem/Plugins/UI/ExtendedSubmitCancelEventData.cs
2025-07-29 13:45:50 +03:00

21 lines
576 B
C#

#if PACKAGE_DOCS_GENERATION || UNITY_INPUT_SYSTEM_ENABLE_UI
using UnityEngine.EventSystems;
namespace UnityEngine.InputSystem.UI
{
// A BaseEventData with added device info.
internal class ExtendedSubmitCancelEventData : BaseEventData, INavigationEventData
{
/// <summary>
/// The <see cref="InputDevice"/> that generated the axis input.
/// </summary>
public InputDevice device { get; set; }
public ExtendedSubmitCancelEventData(EventSystem eventSystem)
: base(eventSystem)
{
}
}
}
#endif