public void OnPointerClick(PointerEventData data) { if (data.button == PointerEventData.InputButton.Right) { menu.handler.menuShown = false; menu.close(); } }
void triggerIt() { parentRM.addExecAction(ability); parentRM.close(); }