// Token: 0x0600089E RID: 2206 RVA: 0x000261A0 File Offset: 0x000243A0 private void OnAllUIStateTweensFinished() { if (this.m_currUIState == null) { return; } this.m_currUIState.TweenFinished = true; if (this.m_currUIState.AnimationFinished && CommonUIStateController.m_onUIStateEndEvent != null) { CommonUIStateController.m_onUIStateEndEvent(base.gameObject, this.m_currUIState.StateName); } }
// Token: 0x06000898 RID: 2200 RVA: 0x00025EB4 File Offset: 0x000240B4 public void OnStateExit(string stateName) { UIStateDesc uistateDescByName = this.GetUIStateDescByName(stateName); if (uistateDescByName == null) { global::Debug.LogError(string.Format("OnStateExit() receive a unknown stateName: {0}.", stateName)); return; } if (this.m_currUIState != uistateDescByName) { global::Debug.LogError(string.Format("Current state is not: {0}.", stateName)); return; } uistateDescByName.AnimationFinished = true; if (uistateDescByName.TweenFinished && CommonUIStateController.m_onUIStateEndEvent != null) { CommonUIStateController.m_onUIStateEndEvent(base.gameObject, stateName); } }