Develop
Develop
Select your platform

Audio Trigger

Updated: Nov 6, 2025
Audio clips in Interaction SDK are triggered using the Audio Trigger component, which is set using Event Wrappers in the Inspector.

AudioTrigger

The Audio Trigger component should be placed on a GameObject alongside an Audio Source component. Events should be set to the AudioTrigger.PlayAudio() method.
PropertyDescription
Audio Clips
A list of audio clips. The audio clip played will be randomly selected from the list.
Volume
The default playback volume of the audio clip.
Volume Randomization
A random range of volumes at which to play the audio clip.
Pitch
The default pitch of the audio clip.
Pitch Randomization
A random range of pitches at which to play the audio clip.
Spatialize
Overrides the Spatialize property on the attached AudioSource.
Loop
Overrides the Loop property on the attached AudioSource.
Chance To Play
The likelihood that the sample will play when called.
Play On Start
Indicates if the audio clip should play when Start() is called on this object.

Learn more

Design guidelines

Did you find this page helpful?