Used by Component:RandomAudioClipPlayer as a choice item with a weight to play an audio clip.
Name | Type | Description |
---|---|---|
Weight
|
Float | How likely it is for this audio clip to play |
MinDistance
|
Float | the distance in meters in the audio's set transform space where the audio's perceived volume stops increasing and stays constant all the way to the center. |
MaxDistance
|
Float | the maximum distance in meters in the audio's set transform space in meters before it cannot be heard. |
MinSpeed
|
Float | The minimum playback speed this audio should be played at |
MaxSpeed
|
Float | The maximum playback speed this audio should be played at |
Clip
|
AudioClip | The AudioClip to play. This can be a StaticAudioClip. |