Global volume fader.
Constructor
Functions
View source
Parameters:
fadeTo (volume : Float, duration : Float, ease : EaseFunction) : Void
Fades FP.volume to the target volume.
Parameters:
volume | The volume to fade to. | |
duration | Duration of the fade. | |
ease | Optional easer function. |