示例#1
0
    IEnumerator SceneMove()
    {
        const float  m_time      = 0.5f;
        const string m_loadScene = "PlayStage";

        loadstage.CloneScriptableObject(selectStageData);
        fadeInOut.FadeInEvent(m_time);
        yield return(new WaitForSeconds(m_time));

        SceneManager.LoadScene(m_loadScene);
    }