How do I change event paramters in Unity integration 2?


(vile) #1

I can’t for the life of me find any documentation for how to change event parameters in the new Unity integration package 2.

I’m using c#.


(Matt Levonian) #2

I’ve been having the same trouble, but I think I figured out the right way to do it. You need a FMODUnity.ParamRef object, and assign an element to it from an FMODUnity.StudioEventEmitter Params array. Then you can change the Value variable in the ParamRef.