Animates the value of a Float Variable over time.
The animation curve to use. Click to open the animation curve editor.
The float variable to animate over time.
Optional event to send when the animation is finished (or has looped if looping)
Ignore TimeScale. Useful if the game is paused but you still need to animate the value.
This is a powerful building block - it lets you control any action's float parameter with an animation curve!
Use Animate Float to control Audio Volume:
The Animate Float action animates the Volume variable; the Set Audio Volume action then uses the Volume variable to control an Audio Source volume. This example also shows how you chain actions together to create more complex actions (e.g. instead of making a Set Audio Volume With Curve action).