Beispiel #1
0
 public void PlayJumpSound()
 {
     if (audioTarget != null)
     {
         audioTarget.PlayJumpSound();
     }
 }
Beispiel #2
0
 private void InternalPlayJumpSound()
 {
     if (audioType == AudioTypes.Standard)
     {
         PlayJumpSound();
     }
     else if (audioType == AudioTypes.Custom && customBehaviour != null)
     {
         customBehaviour.PlayJumpSound();
     }
 }