Ejemplo n.º 1
0
 public void StopEffectSound()
 {
     if (_soundId != -1)
     {
         EffectSoundPlayer.StopEffectSound(_soundId);
     }
 }
Ejemplo n.º 2
0
 public void TriggerSound()
 {
     _soundId = EffectSoundPlayer.PlayEffectSound(_sound.name);
 }