Do I need an event to play oneshot audio?

I’m setting up the voice over file for our game and I was just wondering if I need and event for every vo line or if there’s a better way to handle it.

It depends on your game and how many voice over lines you have. If you don’t have that many then it would be fine to just have an event per line. If your game is going to have lots of voice over lines playing, it might be easier to maintain to utilize audio tables and programmer instruments.

You can see documentation on audio tables and examples scripts for unity in our documentation:

https://fmod.com/resources/documentation-studio?version=2.02&page=dialogue-and-localization.html#audio-tables

https://fmod.com/resources/documentation-unity?version=2.02&page=examples-programmer-sounds.html