Beispiel #1
0
 public void LoadChallenge()
 {
     Sound.instance.PlayButton();
     currentLevel = 0;
     challengeController.LoadChallenge();
     SpawnNewObstacle(challengeController.listObstacles[0] - 1, backs[1].rect.anchoredPosition / 100);
     Utils.SetGameMode(Utils.CHALLENGE_MODE);
     SetState(GameState.LOADED);
     UpdateUI();
 }