Skip to content

en:class AudioDataStore

DerpyNewbie edited this page Oct 9, 2022 · 4 revisions

EN | JA

Description

AudioDataStore contains the AudioClips, volumes, and pitches. used by CollisionAudioStore, FootstepAudioStore, GunAudioDataStore, etc.

Clips, Volume, and Pitch, will be picked randomly within the specified range.

Inspector Properties

Property: Function:
Clips References to the sound clips file that will be played randomly.
Max Volume Maximum random range of volume.
Min Volume Minimum random range of volume.
Max Pitch Maximum random range of pitch.
Min Pitch Minimum random range of pitch.

Properties

Property: Function:
Clip Returns random AudioClip taken from Clips (read-only)
Volume Returns random Volume within Max Volume and Min Volume range (inclusive). (read-only)
Pitch Returns random Pitch within Max Volume and Min Volume range (inclusive). (read-only)