Beispiel #1
0
    public IEnumerator Test1LoadScene1()
    {
        SceneManager.LoadScene("Scenes/BattleScene");
        yield return(new WaitForSeconds(0.01f));

        pi = GameObject.Find("PhaseIndicator").GetComponent <PhaseIndicator>();
        pi.IndicatePhaseCoroutine("Load Scene Done");
        yield return(new WaitForSeconds(1));
    }