⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AudioTimeScalePitchBend MonoBehaviour

    Overview

    The AudioTimeScalePitchBend behaviour alters the pitch of an audio source to match changes to time scale. Pitch also affects the duration of an audio clip, so halving the pitch will double the duration. By default, Unity does not slow audio to match the time scale, so this behaviour compensates for that.

    Inspector

    AudioTimeScalePitchBend

    Properties

    Name Type Description
    Audio Sources AudioSource Array The audio sources to modify based on time scale.
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX