Could I change volumes of Fmod within Unity?


(ivanistochnikov) #1

Hi folks!
I’m doing some noises in Fmod, and the guy of Unity ask me if it is possible to change my volumes in unity and How? By script I suppose.
Can anyone give me any advice?
Regards!!


(Nicholas Wilcox) #2

You can adjust individual events from script

http://www.fmod.org/documentation/#content/generated/FMOD_Studio_EventInstance_SetVolume.html

Or a bus in the hierarchical mix

http://www.fmod.org/documentation/#content/generated/FMOD_Studio_Bus_SetFaderLevel.html

Or you can group events together using VCA’s

http://www.fmod.org/documentation/#content/generated/FMOD_Studio_VCA_SetFaderLevel.html


(ivanistochnikov) #3

Thanks a lot Nicholas!