Exemplo n.º 1
0
 public override void PlayAudio(AudioPlayer audioPlayer)
 {
     if (sound != null)
         audioPlayer.PlayOnSetTrue(sound, selected);
 }
Exemplo n.º 2
0
 public virtual void PlayAudio(AudioPlayer audioPlayer)
 {
     if (cycleSound != null)
         audioPlayer.PlayOnSetTrue(cycleSound, t == 0);
     if (selectSound != null)
         audioPlayer.PlayOnSetTrue(selectSound, selected);
 }