Beispiel #1
0
 public void Release()
 {
     apSystem.Release();
     campSystem.Release();
     stageSystem.Release();
     gameEventSystem.Release();
     characterSystem.Release();
     achievementSystem.Release();
 }
Beispiel #2
0
    public void Destroy()
    {
        mArchievementSystem.Release();
        mCampSystem.Release();
        mCharacterSystem.Release();
        mEnergySystem.Release();
        mStageSystem.Release();

        mCampInfoUI.Release();
        mGamePauseUI.Release();
        mGameStateInfo.Release();
        mSoldierInfoUI.Release();
    }
Beispiel #3
0
 public void Release()
 {
     m_ArchievementSystem.Release();
     m_CampSystem.Release();
     m_CharacterSystem.Release();
     m_EnergySystem.Release();
     m_GameEventSystem.Release();
     m_StageSystem.Release();
     m_CampInfoUI.Release();
     m_GamePauseUI.Release();
     m_GameStateInfoUI.Release();
     m_SoldierInfoUI.Release();
 }
Beispiel #4
0
    public void Release()
    {
        mArchievementSystem.Release();
        mCampSystem.Release();
        mCharacterSystem.Release();
        mEnergySystem.Release();
        mGameEventSystem.Release();
        mStageSystem.Release();

        mCampInfoUI.Release();
        mGamePauseUI.Release();
        //mGameStateInfoUI.Release();
        mSolierInfoUI.Release();
    }
Beispiel #5
0
 public void Release()
 {
     mAchievementSystem.Release();
     mCampSystem.Release();
     mCharacterSystem.Release();
     mEnergySystem.Release();
     mGameEventSystem.Release();
     mStageSystem.Release();
     mCampInfoUi.Release();
     mGamePauseUi.Release();
     mSoldierInfoUi.Release();
     mGameStateInfoUi.Release();
     CreateMemento();
 }
Beispiel #6
0
    public void Release()
    {
        m_AchievementSystem.Release();
        m_CampSystem.Release();
        m_CharactorSystem.Release();
        m_EnergySystem.Release();
        m_GameEventSystem.Release();
        m_StageSystem.Release();

        m_CampInfoUI.Release();
        m_GamePauseUI.Release();
        m_GameStateInfoUI.Release();
        m_SolderInfoUI.Release();

        CreateMemento();
    }
Beispiel #7
0
    // 释放游戏系统
    public void Release()
    {
        // 游戏系统
        m_GameEventSystem.Release();
        m_CampSystem.Release();
        m_StageSystem.Release();
        m_CharacterSystem.Release();
        m_ApSystem.Release();
        m_AchievementSystem.Release();
        // 界面
        m_CampInfoUI.Release();
        m_SoldierInfoUI.Release();
        m_GameStateInfoUI.Release();
        m_GamePauseUI.Release();
        UITool.ReleaseCanvas();

        // 存档
        SaveData();
    }
Beispiel #8
0
    // 釋放遊戲系統
    public void Release()
    {
        //系统释放
        m_TipsSystem.Release();

        //界面释放
        m_tipsPanel.End();
        m_arsenalSystem.Release();

        if (m_player == null)
        {
            m_SwitchSystem.Release();
            m_mainPanel.End();
        }
        else
        {
            if (m_statePanel != null && m_campSystem != null)
            {
                m_campSystem.Release();
                m_statePanel.End();
            }
        }

        //if (m_player != null)
        //{
        //    m_mainPanel = null;
        //    m_mainMenuPanel = null;
        //    m_mainMenuRightPanel = null;
        //    m_readAssetPanel = null;
        //    m_readAssetRightPanel = null;
        //    m_ChooseRolePanel = null;
        //    m_gameMenuRightPanel = null;
        //}
        AllBuding.Clear();
        AllChooseBuding.Clear();
    }