public void OnCancel(InputAction.CallbackContext context) { if (context.phase == InputActionPhase.Performed) { MenuCloseEvent.Invoke(); } }
private System.Collections.IEnumerator ActionNode137_yes() { // PublishEventNode while (this.DebugInfo("9c14444c-0151-4c06-b9f3-87828a85ea9c", "696d1bc1-8d07-46d6-91dc-3e9f9095fbee", this) == 1) { yield return(null); } var PublishEventNode149_Event = new MenuCloseEvent(); System.Publish(PublishEventNode149_Event); PublishEventNode149_Result = PublishEventNode149_Event; yield break; }