| | |
| | | Application.backgroundLoadingPriority = ThreadPriority.BelowNormal;
|
| | | Screen.sleepTimeout = SleepTimeout.NeverSleep;
|
| | |
|
| | | ShaderUtility.InitGlobalParams();
|
| | | SoundPlayer.CreateSoundPlayer();
|
| | |
|
| | | SystemSetting.Instance.SetSoundVolume(SystemSetting.Instance.GetSoundVolume());
|
| | | SystemSetting.Instance.SetSoundEffect(SystemSetting.Instance.GetSoundEffect());
|
| | | SystemSetting.Instance.SetGameFps(SystemSetting.Instance.GetGameFps());
|
| | |
|
| | | SDKUtility.Instance.Init();
|
| | | GameObjectPoolManager.Instance.gameObject.name = "GameObjectPool";
|
| | | GameObjectPoolManager.Instance.Initialize();
|
| | | ExceptionCatcher.Init();
|
| | | ExceptionCatcher.Catch();
|
| | | DebugUtility.Instance.Init();
|
| | | GlobalTimeEvent.Instance.Begin();
|
| | |
|
| | | #if UNITY_ANDROID && !UNITY_EDITOR
|
| | | if (!SDKUtility.builtinAssetCopyFinished)
|
| | |
| | | {
|
| | | AssetBundleUtility.Instance.InitBuiltInAsset();
|
| | | }
|
| | |
|
| | | ShaderUtility.InitGlobalParams();
|
| | | SoundPlayer.CreateSoundPlayer();
|
| | |
|
| | | SystemSetting.Instance.SetSoundVolume(SystemSetting.Instance.GetSoundVolume());
|
| | | SystemSetting.Instance.SetSoundEffect(SystemSetting.Instance.GetSoundEffect());
|
| | | SystemSetting.Instance.SetGameFps(SystemSetting.Instance.GetGameFps());
|
| | |
|
| | | GameObjectPoolManager.Instance.gameObject.name = "GameObjectPool";
|
| | | GameObjectPoolManager.Instance.Initialize();
|
| | | ExceptionCatcher.Init();
|
| | | ExceptionCatcher.Catch();
|
| | | DebugUtility.Instance.Init();
|
| | | GlobalTimeEvent.Instance.Begin();
|
| | | }
|
| | |
|
| | | private byte m_Step = 0;
|