/* * Allows for other scripts to use this one's existing reference to WaveSpawner to deactivate it */ public void DeactivateWaveSpawner() { waveSpawnerReference.DeactivateWaveSpawner(); }