예제 #1
0
    IEnumerator LoadMyScene(int buildIndex)
    {
        pauseUi.FadeIn(0.2f);
        yield return(new WaitForSecondsRealtime(0.2f));

        SceneManager.LoadScene(buildIndex);
    }