Hi! I'm currently working on a game in which at certain points visual and audio effects are triggered. I've been setting up a "baseline" vignette, but I'm trying to trigger the Global Volume to increase the intensity of the vignette and I've not been able to find out how to. I found this post but I'm not entirely sure it's the same, since during the game the global volume is active from the start but I want to modify it's value. Is there a way to do it through Actions or should I try to script something?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
What's the exact effect you're looking to achieve? Update the volume's intensity to a single value, or smoothly change it over time?
A custom Action could handle this to affect the value through code, but you could likely achieve this with animation.
Attach an Animator to the object, and then create a pair of Animations that each set the volume to a fixed value (e.g. for one 0.5, one for 1). You can then use the Object: Animate Action's "Mecanim" method to affect animation playback - either by altering a parameter value that invokes a transition, or by referencing the name of the clip directly.
Thank you!! That worked