public void StopAmbientSound() { if (_soundId != -1) { AmbientScenePlayer.StopAmbientSound(_soundId); } }
public void TriggerSound() { _soundId = AmbientScenePlayer.PlayAmbientSound(_sound.name); }