Beispiel #1
0
    // Pause to main menu
    public void PauseToMM(string sceneName)
    {
        PauseManager pauseManager = FindObjectOfType <PauseManager>();

        pauseManager.ChangeScene(sceneName);
    }