How can I get the time of a specific Event?


#1

Hi,I use FMOD in Unity.Now I create an event,but how can I get its time?
I found EevntDescription.getLength,is this correct?
Thanks!


#2

That function returns the length of the timeline for the type of event:
http://www.fmod.org/documentation/#content/generated/FMOD_Studio_EventDescription_GetLength.html

If you want to get the current timeline position for an instance, you will need to call the following function:
http://www.fmod.org/documentation/#content/generated/FMOD_Studio_EventInstance_GetTimelinePosition.html


#3

Hi!I have encountered this problem you, want to get a sound file specific time, would you solve your problem?


#4

There is no way to get the specific time for sounds playing inside the event.