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