Question by
gessnerjules · Nov 11, 2018 at 07:52 PM ·
spriteaudioaudioclipanimationeventfootsteps
How do I play an audio clip on a keyframe in sprite animation?
I would like to add a noise to my character's footsteps specifically on the frame where their foot hits the ground. However, I'm having trouble figuring out how to get the animation events to work properly as I'm really new to Unity (I only started learning this month). What's the simplest way to achieve this with scripts in C#?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612181946im_/https://answers.unity.com/themes/thub/images/avi.jpg)