Get parameter value?


I was just wondering if there is a way to get parameter value?


Yes it just depends on how you are using the event you want to access.
If you are using the FMODStudioEventEmitter script, you will need to access the instance it contains:

StudioEventEmitter.instance.getParameterValue(stringName, out value1, out finalValue);

Or if you have created your own event in your own script:

FMOD.Studio.EventInstance.getParameterValue(stringName, out value1, out finalValue);

Also you could store a reference to the parameter and get/set the value from that:

StudioEventEmitter.instance.getParameter(stringName, out FMOD.Studio.ParameterInstance);
FMOD.Studio.EventInstance.getParameter(stringName, out FMOD.Studio.ParameterInstance);

Thank you very much Cameron, it works!