⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    FpsCharacterAudioData ScriptableObject

    Overview

    The FpsCharacterAudioData scriptable object specifies audio to play for the different character audio keys.

    Inspector

    FpsCharacterAudio

    Properties

    The data is divided into sections for each key in the FpsCharacterAudio generated constant. Each section contains the following properties:

    Name Type Description
    Audio Clips AudioClip Array A selection of audio clips to pick from. Will be selected at random to prevent repetition.
    Volume Float The volume to play the clip at.
    Min Spacing Float New clips will be blocked from playing for this duration after a clip plays. Prevents rapid fire audio.

    See Also

    Generated Constants

    Unity AudioClip

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