public void GameStart() { currentLevelIndex = 0; SetCurrentLevelConfiguration(); isGameRunning = true; generator.GenerateObstacles(); score = 0; gameStartUI.Hide(); player.SetActive(); }
public void GameStart() { currentLevelIndex = 0; SetCurrentLevelConfiguration(); isGameRunning = true; generator.GenerateObstacles(); score = 0; gameStartUI.Hide(); player.SetActive(); }