Files
2026-07-16 21:49:59 +01: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;
}
}
}