IEnumerator WaveGround() { yield return(new WaitForSeconds(0.01f)); if (grounded) { waveSpawner.DoGroundWave(); } }