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