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; } }
public void Stop() { this.Log("Stop()"); if (m_mgrFSP != null) { m_mgrFSP.Stop(); m_mgrFSP = null; } m_lastVKey = ""; delayToStop = -1; }
/// <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; }