| | |
| | | { |
| | | ShaderUtility.InitGlobalParams(); |
| | | // SoundPlayer.CreateSoundPlayer(); |
| | | SoundPlayer.Instance.Init(); |
| | | //SoundPlayer.Instance.PlayLoginMusic(); |
| | | |
| | | SystemSetting.Instance.SetSoundVolume(SystemSetting.Instance.GetSoundVolume()); |
| | |
| | | System.Net.ServicePointManager.DefaultConnectionLimit = 100;//设置http最大连接数 |
| | | Application.backgroundLoadingPriority = ThreadPriority.High; |
| | | Screen.sleepTimeout = SleepTimeout.NeverSleep; |
| | | SoundPlayer.Instance.Init(); |
| | | |
| | | SDKUtils.Instance.Init(); //原sdk接口 |
| | | if (!AssetSource.isUseAssetBundle) |