public void OnAction() { if (eventSystem.CheckNextEvent(this.gameObject)) { eventSystem.ExecuteNextEvent(); } else { DoMyOwnAction(); } }