Skip to main content

Sounds Prefabs

Sounds

This array contains audio effects bound to the effect. You can enable several audio tracks at once.

Audio

Simple audio effect on background, looped by default.

Usage

"sounds": [
{
"audio": {
"filename": "sound.ogg",
"start": 1,
"end": 4,
"loop": true,
"volume": 0.7
}
// ...
}
// ...
]
ParameterDescriptionOptionalDefault Value

filename

Path to audio track. Tracks in .ogg and .wav format are supported.

++

start

Timepoint to start audio play (in seconds).

0

end

Timepoint to end audio play (in seconds).

till the end

loop

Loop the audio track.

false

volume

This audio track volume. Value from [0, 1].

1