Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     LevelCanvas = GameObject.Find("LevelCanvas");
     TimeCanvas  = GameObject.Find("TimeCanvas");
     LevelCanvas.SetActive(false);
     TimeCanvas.SetActive(false);
 }
Ejemplo n.º 2
0
 public void SetTimeCanvas(int k)
 {
     if (k == 0)
     {
         TimeCanvas.SetActive(false);
     }
     else if (k == 1)
     {
         TimeCanvas.SetActive(true);
     }
 }