|
Post by voodoodetective on Jan 9, 2021 5:48:33 GMT
Is there some way to set a song's end time the same way you can set start time? If not, is it on the roadmap?
Would it be as simple as adding this code to Update()?
if (_activeAudio.timeSamples >= (int)(endTime * _audioClip.clip.frequency)) { PlayNextSong() }
Is there a better way to do this?
|
|
|
Post by DarkTonic Dev on Jan 9, 2021 9:43:42 GMT
Nothing is ever simple in the code for Playlist Controller so I doubt it.
I believe this is on the roadmap.
|
|