How to set (Global) Parameter By Name in Unity?

Hi,

I’ve created lots of local parameters without problems.

But I’m I tried to create a Global Parameter to change, for example, the Reverb Wetness or Room Size, It simply does nothing.

Is there something similar to the “setParameterByName”, but for global parameters?

Thanks!

1 Like

https://www.fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#studio_system_setparameterbyname

In Unity you can get the Studio System with the RuntimeManager:

FMODUnity.RuntimeManager.StudioSystem.setParameterByName

2 Likes

This was exactly the solution! Thank a ton for your help!!

1 Like

In case anyone is finding this thread in more recent years, at some point an “FMOD Studio Global Parameter Trigger” component was added to Unity, so that looks to be a great built-in way to set Global parameters (be they continuous, discrete or labeled). The “FMOD Studio Event Emitter” still has trouble with Global parameters, but at least we have the “FMOD Studio Global Parameter Trigger” component.