// Stops a given sound effect.
 // Note: this will fire a stopped sound effect event if that was setup for the sound effect.
 public void StopSFX(AudioSourceManager sfx)
 {
     if (sfx != null)
     {
         sfx.Stop();
     }
 }