The CharacterFootsteps component will use triggers to play a footstep when the character moves. The AudioSource, SphereCollder, and CharacterFootTrigger components must be added to the foot GameObjects to allow the sound to be played from the correct location. The CharacterFootsteps components allows for a per foot sound.
When the SphereCollider trigger intersects with the ground the OnTriggerEnter method will fire within the CharacterFootstepTrigger component. This will tell the CharacterFootsteps component that contact has been made and this component will then play the sounds from the AudioSource.
A reference to the left foot
A reference to the right foot
Per Foot Sounds
Should a unique sound play for each foot?
A list of clips to play when the foot hits the ground