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