public void Enable() { if (ButtonGraphic.ContainsCursor() && User.JustLeftClicked()) { ButtonClickAction(); } }
public static bool JustLeftClicked(Gfx g) { return(g.ContainsCursor() && User.JustLeftClicked()); }