void OnCommandEvent( CommandManager.CommandEventData data ) { data.LockInput(); FrameRateUtility.StartCoroutine( delay, () => { Application.Quit(); }); }
void OnCommandEvent( CommandManager.CommandEventData data ) { var holder = new ConditionHolder(); holder.IsSuccess = true; if( refConditionObject != null ) { refConditionObject.SendMessage( ConditionHolder.ConditionMessage, holder ); } if( holder.IsSuccess ) { data.LockInput(); Change(); } }