// Pauses a given sound effect.
 // Note: this will fire a paused sound effect event if that was setup for the sound effect.
 public void PauseSFX(AudioSourceManager sfx)
 {
     if (sfx != null)
     {
         sfx.Pause();
     }
 }