示例#1
0
 private void Init()
 {
     GameplayHUD.LoadingCurtain.Show();
     GameplayHUD.LoadingCurtain.Hide();
     LoadProgress();
     LoadSettings();
     AudioService.Instance.Init();
     PlayerSpawner.Init(GameFactory, PlayerInitialPoint(), currentLevel.wayPoint, LevelContainer);
     EnemySpawner.Init(GameFactory, LevelContainer);
     LevelContainer.Init(GameFactory.PlayerContainer.PlayerMain);
     GameplayHUD.Init(GameFactory.PlayerContainer.PlayerMain, LevelContainer, SceneLoader);
     GameAnalytics.Initialize();
 }