Beispiel #1
0
 /// <summary>
 /// 收到动画事件
 /// </summary>
 /// <param name="key">事件参数</param>
 private void OnAnimationEvent(string key)
 {
     if (string.Equals("Enter", key))
     {
         m_LoadingPanelParamere.OnShown();
         UIManager.Instance.ClosePanel(UIPanel.CharacterPanel);
         m_OpenEnd = true;
     }
     else if (string.Equals("Exit", key))
     {
         UIManager.Instance.ClosePanel(this);
     }
 }