|
Post by boygorge on Mar 3, 2017 14:20:03 GMT
I have a case where I have MA's master crossfade time set to 0 and would like to override it for a single playlist entry manually. Using the playlist override is no option because I need to use a 0 xfade within the same playlist.
Is there any way to trigger & override playlist clip crossfade from script? What I'm thinking would be something like a function "PlayNextSongWithCrossfade" that would take a float for the xfade duration, taking precedence to any master / playlist overrides.
|
|
|
Post by DarkTonic Dev on Mar 3, 2017 21:24:21 GMT
There is no override but you should be able to set the crossfade time of the currently loaded Playlist like this. And then you'll need to set it back to zero after the crossfade.
MasterAudio.OnlyPlaylistController.CurrentPlaylist.crossFadeTime = 2f;
|
|