Ejemplo n.º 1
0
 public void Play321GoSound(AudioManager.Clip audioClip)
 {
     audioManagerInstance.PlayTriggerSound(audioClip.clip, audioClip.Volume);
     startAnimationSteps--;
     if (startAnimationSteps > 0)
     {
         this.Invoke("Play321GoSound", numberSound, timeBetweenSounds);
     }
     else if (startAnimationSteps == 0)
     {
         this.Invoke("Play321GoSound", goSound, timeBetweenSounds);
     }
 }
Ejemplo n.º 2
0
 public void PlayGameplayLoopMusic(AudioManager.Clip audioClip)
 {
     audioManagerInstance.PlayMusic(audioClip.clip, audioClip.Volume);
 }
Ejemplo n.º 3
0
 public void PlayTriggerSound(AudioManager.Clip audioClip)
 {
     audioManagerInstance.StopLoopSound();
     audioManagerInstance.PlayTriggerSound(audioClip.clip, audioClip.Volume);
     Invoke("PlayEngineTopSpeedSound", audioClip.clip.length);
 }