⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PlayAudioClip MotionGraphBehaviour

    Overview

    The PlayAudioClip behaviour plays an audio clip on entering the state, on exiting, or both.

    Inspector

    PlayClip

    Properties

    Name Type Description
    Clip AudioClip The audio clip to play.
    Volume Float The volume to play the clip at.
    Where Vector3 The offset from the character controller transform position to play the clip at.
    When Dropdown When should the clip be played. Options are EnterAndExit, EnterOnly, ExitOnly.

    See Also

    Unity AudioClip

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX