Class DOTweenModuleAudio | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class DOTweenModuleAudio

    Inheritance
    Object
    DOTweenModuleAudio
    Namespace: DG.Tweening
    Syntax
    public static class DOTweenModuleAudio

    Methods

    DOFade(AudioSource, Single, Single)

    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

    Declaration
    public static TweenerCore<float, float, FloatOptions> DOFade(this AudioSource target, float endValue, float duration)
    Parameters
    Type Name Description
    AudioSource target
    Single endValue

    The end value to reach (0 to 1)

    Single duration

    The duration of the tween

    Returns
    Type Description
    TweenerCore<Single, Single, FloatOptions>

    DOPitch(AudioSource, Single, Single)

    Tweens an AudioSource's pitch to the given value. Also stores the AudioSource as the tween's target so it can be used for filtered operations

    Declaration
    public static TweenerCore<float, float, FloatOptions> DOPitch(this AudioSource target, float endValue, float duration)
    Parameters
    Type Name Description
    AudioSource target
    Single endValue

    The end value to reach

    Single duration

    The duration of the tween

    Returns
    Type Description
    TweenerCore<Single, Single, FloatOptions>
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX