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