FMOD Unity - Parameter and Distance

Hi! I am learning about the implementation of FMOD in Unity. I have the next doubt:

I have in the FMOD project the background music and a parameter than introduces a vocal layer.

I want him to change the parameter in relation to the Player’s distance with a church.
¿Some idea?

The simplest method would be to regularly calculate the distance between the player and the nearest church, and to update the value of the parameter to that calculated value every frame.

Information on how to set a parameter value in Unity can be found here:

For examples of how to set an event instance’s parameter value in Unity, see:

1 Like

Great! Right now I’m doing some tests :smiley:
Thank you so much!

1 Like