Esempio n. 1
0
    public void Classic()
    {

        buttonsCanvas.SetActive(true);
        infoCanvas.SetActive(true);

        canPause = true;
        menu.SetActive(false);
        ClassicCup.SetActive(true);
        ButtonsForClassic.SetActive(true);
        menuCanvas.GetComponent<Classic_Tetris>().enabled = true;


    }
Esempio n. 2
0
    void Start()
    {
        Time.timeScale = 1;

        buttonsCanvas.SetActive(false);
        infoCanvas.SetActive(false);
        menuCanvas.SetActive(true);

        CameraLeftUpperCorner = Camera.main.ScreenToWorldPoint(new Vector3(0f, Camera.main.pixelHeight, 0));

        Level = 1;
        levelText.text = "" + Level;

        menu.SetActive(true);
        ClassicCup.SetActive(false);
        PhysicCup.SetActive(false);
        Triggers.SetActive(false);
        ButtonsForClassic.SetActive(false);
        ButtonsForPhysics.SetActive(false);
        Terminator.SetActive(false);

    }