예제 #1
0
    private void NextRace()
    {
        AudioManager.instance.Play("Next Race");

        SelectionManager.CleanUpSelectionManager();
        SpawnRacers.CleanUpSpawnRacers();
        SpawnPlayers.CleanUpSpawnPlayers();

        GameSettings.NavigationMode = 0;

        SceneManager.LoadScene("2 Meadows");
    }
예제 #2
0
    private void QuitToMainMenu()
    {
        AudioManager.instance.Play("Cancel");

        SelectionManager.CleanUpSelectionManager();
        SpawnRacers.CleanUpSpawnRacers();
        SpawnPlayers.CleanUpSpawnPlayers();
        ResultsManager.CleanUpResultsManager();
        ResultsManager.initializedScores = false;

        SceneManager.LoadScene("1 Main Menu");
    }