| | |
| | | public override void Begin() |
| | | { |
| | | ShaderUtility.InitGlobalParams(); |
| | | SoundPlayer.CreateSoundPlayer(); |
| | | // SoundPlayer.CreateSoundPlayer(); |
| | | SoundPlayer.Instance.Init(); |
| | | SoundPlayer.Instance.PlayLoginMusic(); |
| | | // SoundPlayer.Instance.PlayBackGroundMusic(41); |
| | | |
| | | SystemSetting.Instance.SetSoundVolume(SystemSetting.Instance.GetSoundVolume()); |
| | | SystemSetting.Instance.SetSoundEffect(SystemSetting.Instance.GetSoundEffect()); |
| | |
| | | //ExceptionCatcher.Init(); |
| | | //ExceptionCatcher.Catch(); |
| | | |
| | | // TODO YYL 如果没有 GlobalTimeEvent的话需要在场景加载的时候去加一个 |
| | | GlobalTimeEvent.Instance.Begin(); |
| | | PackageRegedit.Init(); |
| | | Clock.Init(); |