| | |
| | | {
|
| | | 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;
|
| | | }
|