少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-13 22c89b3dd80db8cffa9ee480f84e2416389e332a
3335 修改启动逻辑,加强首次启动游戏拷贝资源的健壮性。
1个文件已修改
14 ■■■■ 已修改文件
Core/GameEngine/Login/Launch.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Login/Launch.cs
@@ -334,24 +334,24 @@
        {
            ShaderUtility.InitGlobalParams();
            SoundPlayer.CreateSoundPlayer();
            SoundPlayer.Instance.PlayLoginMusic();
            SystemSetting.Instance.SetSoundVolume(SystemSetting.Instance.GetSoundVolume());
            SystemSetting.Instance.SetSoundEffect(SystemSetting.Instance.GetSoundEffect());
            SystemSetting.Instance.SetGameFps(SystemSetting.Instance.GetGameFps());
            SystemSetting.Instance.LetFPSUnLimit();
            DebugUtility.Instance.Init();
            DebugUtility.Instance.CreateDebugRoot();
            GameObjectPoolManager.Instance.gameObject.name = "GameObjectPool";
            GameObjectPoolManager.Instance.Initialize();
            ExceptionCatcher.Init();
            ExceptionCatcher.Catch();
            DebugUtility.Instance.Init();
            GlobalTimeEvent.Instance.Begin();
            SoundPlayer.Instance.PlayLoginMusic();
            Config.Instance.PreLoadConfigs();
            SystemSetting.Instance.LetFPSUnLimit();
            Config.Instance.RegisterGlobalEvent();
            GlobalTimeEvent.Instance.Begin();
            PackageRegedit.Init();
            DebugUtility.Instance.CreateDebugRoot();
            done = true;
        }