Exemplo n.º 1
0
    IEnumerator NacitajMapu()
    {
        und.PredelPrepinanie(true);
        und.ZmenaAnimPredelov(1);
        yield return(new WaitForSeconds(3.5f));

        ClickFlag.activePuk = false;
        Startgame           = false;
        SceneManager.LoadScene("Mapa");
    }
Exemplo n.º 2
0
    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");
    }
Exemplo n.º 3
0
 public void PLayGame()
 {
     Vyber();
     ZapisDoSuboru();
     vsetkouhadnute++;
     und.PredelPrepinanie(true);
 }
Exemplo n.º 4
0
    public void Start()
    {
        //Screen.fullScreen = !Screen.fullScreen;  // zakazanie fullscreen modu

        RandFrameChoose(); // vyber farby frameu
        und = FindObjectOfType(typeof(UndyingCanvasScrip)) as UndyingCanvasScrip;
        und.PredelPrepinanie(false);
        Zaciatok();

        GalleryControl.UhadnuteMeno     = new List <string>();
        GalleryControl.UhadnutePamiatka = new List <string>();
        GalleryControl.UhadnuteHviezdy  = new List <string>();

        PrveZapnutieHry();

        VyskakOkno.SetActive(false);
        Odpoved.SetActive(false);
        KoniecHry.SetActive(false);
        // Debug.Log("Som tu");
    }