private void Update() { if (Input.GetKeyDown(KeyCode.G)) { waveManager.StartWave(); } if (Input.GetKeyDown(KeyCode.H)) { gameOver = true; Debug.Log("/---------Game Over-----------/"); } }