예제 #1
0
        IEnumerator BackToMainMenuCoroutine()
        {
            returnToMainMenuWindow.SetActive(false);
            ResumingGame();
            PanelFadeOut();
            yield return(new WaitForSeconds(TIME_END_GAME));

            mySceneManager.MainMenuScene();
        }