Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Audio (fmod) How to have a parameter value become disabled after exiting it’s trigger zone?

Discussion in 'Audio & Video' started by unity_Lf05f7mSO7eQhw, Sep 3, 2019.

  1. unity_Lf05f7mSO7eQhw

    unity_Lf05f7mSO7eQhw

    Joined:
    Jun 5, 2019
    Posts:
    9
    In Unity, i’ve placed a cube over a section of the map with FMOD Studio Parameter Trigger (Script) component. I’ve set some music to fade in upon entering the trigger zone, which it does.

    How can the music be disabled when exiting the trigger area?

    I know i could place several other cubes around this first cube with ‘Trigger exit’ as the parameter trigger scripts trigger option but this seems tedious. Surely there is an easier way ?
     
unityunity