Hi there ![]()
I’m currently working on a way to preview an FMOD event in the inspector when I press a button in a script while outside of playmode.
Essentially, my needs would be something like:
Public void PreviewSoundInInspectorOnButtonPress()
{
//Play FMOD event preview
]
If, additionally, anyone knew of a way to get the duration of the event, as well as how one would play from x seconds, that would be incredible too ![]()
While FMOD has a way to preview audio already, this use case is relevant to me, as I need to sync some elements in the inspector ![]()
I’m afraid I’m not quite able to comprehend a lot of FMOD code currently, so if someone would be able to lay out the steps, that would really help me, and I’d be very thankful ![]()
Thank you for your time