Files
2026-11-01 23:39:55 +02:00

18 lines
425 B
C#

using UnityEngine.UIElements;
namespace Unity.PlasticSCM.Editor.UI.UIElements
{
internal static class MouseEvents
{
internal static bool IsRightButtonPressed(PointerDownEvent evt)
{
return IsRightButtonPressed(evt.button);
}
internal static bool IsRightButtonPressed(int button)
{
return button == UnityConstants.RIGHT_MOUSE_BUTTON;
}
}
}