(In Unity) How to have a parameter value become disabled after exiting it's trigger zone?


In Unity, i’ve placed a cube over a section of the map with the 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 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 ?

If it is the same trigger zone, you could just add another Studio Parameter Trigger to the object that uses Trigger Exit.