Search Unity

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


    Jun 5, 2019
    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 ?