Exemplo n.º 1
0
    private void QuitToMainMenu()
    {
        AudioManager.instance.Play("Cancel");

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

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