예제 #1
0
 public void StopEffectSound()
 {
     if (_soundId != -1)
     {
         EffectSoundPlayer.StopEffectSound(_soundId);
     }
 }
예제 #2
0
 public void TriggerSound()
 {
     _soundId = EffectSoundPlayer.PlayEffectSound(_sound.name);
 }