Esempio n. 1
0
 public void Clean()
 {
     GlobalEvent.onUpdate.RemoveListener(OnUpdate);
     if (m_fsp != null)
     {
         m_fsp.Stop();
         m_fsp = null;
     }
 }
        public void Close(params object[] args)
        {
            this.Log("Close()");

            if (m_mgrFSP != null)
            {
                m_mgrFSP.Stop();
                m_mgrFSP = null;
            }
        }
Esempio n. 3
0
        public void Stop()
        {
            this.Log("Stop()");

            if (m_mgrFSP != null)
            {
                m_mgrFSP.Stop();
                m_mgrFSP = null;
            }
            m_lastVKey = "";

            delayToStop = -1;
        }
Esempio n. 4
0
        /// <summary>
        /// 停止游戏
        /// </summary>
        public void Stop()
        {
            Debuger.Log(LOG_TAG, "StopGame()");

            GameManager.Instance.ReleaseGame();

            MonoHelper.RemoveFixedUpdateListener(FixedUpdate);
            GameInput.Release();

            if (m_mgrFSP != null)
            {
                m_mgrFSP.Stop();
                m_mgrFSP = null;
            }

            onMainPlayerDie = null;
            onGameEnd       = null;
            m_context       = null;
        }