IEnumerator NacitajMapu() { und.PredelPrepinanie(true); und.ZmenaAnimPredelov(1); yield return(new WaitForSeconds(3.5f)); ClickFlag.activePuk = false; Startgame = false; SceneManager.LoadScene("Mapa"); }
IEnumerator NacitajScenu() { und.PredelPrepinanie(true); und.ZmenaPredelu(4); yield return(new WaitForSeconds(1f)); und.ZmenaAnimPredelov(1); yield return(new WaitForSeconds(3.5f)); SceneManager.LoadScene("Mapa"); }