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

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

        GameSettings.NavigationMode = 0;

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

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

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