I'm trying to make an object's movement automatically sync to the music in Unity. I want a way to get the "key points" (when there is a loud beat) and make the object dash at those moments.
Basically, I just want the object to feel like it is synced with the music.
So how would I be able to get these points? A simple code or an explanation of a function I could use would be appreciated.