|
Post by chrisoshea on Sept 23, 2015 11:54:51 GMT
soundResult = MasterAudio.PlaySound("music");
is there any way in the result to get the milliseconds played at any point in time during Update(), i.e if you wanted to sync something to a looping audio file, I'd look at the milliseconds currently since the start of the track.
I do try storing the time.timesincelevelload when you start play, but wondered if comparison to the audio file would be more accurate.
thanks
|
|
|
Post by DarkTonic Dev on Sept 23, 2015 15:19:45 GMT
This gives you seconds. Hopefully that will work?
var soundResult = MasterAudio.PlaySound("music"); if (soundResult.ActingVariation != null) { var seconds = soundResult.ActingVariation.VarAudio.time; }
|
|