void Start() { trans = GameObject.FindGameObjectWithTag("SceneTransition").GetComponent <SceneTransitions>(); // jonathan edit for (int i = 0; i < _GameUI.Length; i++) { _GameUI[i].SetActive(false); } _timer = _timeLimit; }
private void Start() { sceneTrans = GameObject.FindGameObjectWithTag("SceneTransition").GetComponent <SceneTransitions>(); }