public void TransitionCompleted(EZTransition transition) { if (this.deactivateAllOnDismiss && (transition == this.Transitions.list[2] || transition == this.Transitions.list[3])) { base.gameObject.SetActive(false); } if (this.tempTransCompleteDel != null) { this.tempTransCompleteDel(this, transition); } this.tempTransCompleteDel = null; if (this.blockInput[this.prevTransIndex] && UIManager.Exists()) { NrTSingleton <UIManager> .Instance.UnlockInput(); } }
public void AddTempTransitionDelegate(UIPanelBase.TransitionCompleteDelegate del) { this.tempTransCompleteDel = (UIPanelBase.TransitionCompleteDelegate)Delegate.Combine(this.tempTransCompleteDel, del); }