Example #1
0
    public void ChangeScene(string targetScene)
    {
        if (LoadingManager.asyncLoading != null && (!LoadingManager.asyncLoading.isDone || MenuControll.isPaused))
        {
            return;
        }

        StartCoroutine(LoadingManager.AsyncLoad(targetScene));
    }
 public void QuitToMainMenu()
 {
     StartCoroutine(LoadingManager.AsyncLoad("00_Menu"));
     TogglePauseMenu();
 }