Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     pausespin = false;
     Pau.SetActive(true);
     Sto.SetActive(false);
     gameover.SetActive(false);
 }
Exemplo n.º 2
0
 public void Buttons(string paneladi)
 {
     if (paneladi == "starting")
     {
         pausespin = true;
         Sto.SetActive(true);
         Pau.SetActive(false);
     }
     if (paneladi == "stoping")
     {
         pausespin = false;
         Pau.SetActive(true);
         Sto.SetActive(false);
     }
 }