Play Sound Effect

In depth learning on Basic Scene Configuration can be found in this course.

Used to play a randomized short sound effect. Useful for Foley effects like dropping items, etc.

A good approach for using this component is to create ready-made Prefabs that define different sounds and can be attached to Props. The SDK has some pre-defined SFX for common cases (dropping an item, etc.).

Name

Description

Clips

An array of audio clips to choose a sound effect from.

Audio Source

Will be automatically added to Game Object if not set.

Volume

Volume to play the clip.

Play On Awake

Whether to play the clip on Awake.

Related Articles

Unity Components

Â