How to adjust FMOD VCA in Unity?


(spectralgeth) #1

Is there a way to do this via script?

We’d like an audio slider in Unity to be able to adjust the volume of the VCA channels in Fmod Studio.

Thank you for your time!


(Cameron Baron) #2

You can access VCA’s the same way as a bus:

string vcaPath = "vca:/VCA Name"; FMOD.Studio.VCA vca = FMODUnity.RuntimeManager.GetVCA(vcaPath); vca.setVolume(volume);

https://fmod.com/resources/documentation-api?page=content/generated/FMOD_Studio_VCA_SetVolume.html#/