예제 #1
0
    public static void ClearCache()
    {
        DialogMgr.InDrawingDialog = false;
        BulletExplosion.Reset();

        UiMenuBase.ClearSelectStatus();

        //清理UI
        UiManager.Clear();

        //清理音效
        Sound.StopEnvironmentMusic();
        Sound.StopMusic();
        Sound.ClearSoundCache();

        //清理UI图集
        SpriteAtlasMgr.ClearCache();
    }