DOFade Method
DOFade(AudioSource, float, float)
public static TweenerCore<float, float, FloatOptions> DOFade(this AudioSource target, float endValue, float duration)
Tweens an AudioSource's volume to the given value. Also stores the AudioSource as the tween's target so it can be used for filtered operations
Parameters
targetAudioSourceendValuefloatThe end value to reach (0 to 1)
durationfloatThe duration of the tween