Audio Event

This component is used to play sounds from animation events.
When you add this component, it will automatically add the Audio Source component.
In order for the sound to be played, you need to add a function called PlaySound at a certain moment of the animation.
You also need to specify the sound you want to play in the Object field.