kurai
New Member
Posts: 1
Posts: 1
|
Post by kurai on Oct 28, 2014 21:58:19 GMT
Hi there! I've just started using Master Audio for a project. It's super nice, but I have one problem. I really need all sound effects to duck when a song from my playlist is playing. Problem is, it seems I can only do the reverse (make the soundtrack duck upon certain sounds). Is there a way to achieve what I need?
Thanks!
|
|
|
Post by DarkTonic Dev on Oct 29, 2014 0:20:46 GMT
With code, You could set MasterAudio.MasterVolumeLevel to a lower volume during that song, then set it back after. That property will affect the volume of all SFX at once.
So there's no way to do that with Master Audio without writing some code yourself. However Unity 5 will have much more flexible ducking and will allow you to do that natively. I suggest you either download the beta or wait for it to release. We aren't going to add more ducking functionality because of the upcoming Unity features.
|
|