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