예제 #1
0
    IEnumerator UcitajOstrvo(string ime)
    {
        if (PlaySounds.soundOn)
        {
            PlaySounds.Play_Button_OpenWorld();
        }
        //GameObject.Find("HolderLife").transform.parent = lifeManager.GetChild(0);
        //GameObject.Find("OblaciPomeranje").animation.Play("OblaciPostavljanje");
        _GUI.parent.Find("LOADING HOLDER NEW/Loading Animation Vrata").GetComponent <Animator>().Play("Loading Zidovi Dolazak");
        yield return(new WaitForSeconds(1.1f));

        Application.LoadLevel(ime);
    }