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