public void AdvanceToNextWave() { Wave.waveNumber++; waveNumberText.text = Wave.waveNumber.ToString(); //wi.OnBetweenWaves(); ca.GoBackToDefaultView(); NextWave(); Debug.Log("next wave"); inv.CloseBetweenWaves(); StartCoroutine(EndBetweenWaves()); manager.IncrementWaveNumber(1); }