// Update is called once per frame private void Update() { if (Counting && _waveTimer.Update(Time.deltaTime)) { transform.Find("Wave 1").gameObject.SetActive(true); Counting = false; Prompt.Activate(); } if (GetComponentsInChildren <ZombieInput>().Length < 1) { Prompt.Activate("You survived!"); } }