IEnumerator LoadMyScene(int buildIndex) { pauseUi.FadeIn(0.2f); yield return(new WaitForSecondsRealtime(0.2f)); SceneManager.LoadScene(buildIndex); }
IEnumerator LoadMyScene(int buildIndex) { pauseUi.FadeIn(0.2f); yield return(new WaitForSecondsRealtime(0.2f)); SceneManager.LoadScene(buildIndex); }