The Audio Source Component

All audio generated in a Unity Scene comes from an Audio Source Component. This Component also has a number of properties that control how the audio clip is played in both 2D and 3D space.

Basic Properties

These are the standard properties of the Audio Source Component that are generally applicable to all sound effects:

Image Audio Clip: The sound file that will be played when the Audio Source is called.

Image Mute: When true, mutes the sound from this Audio Source.

Bypass Effects: Ignores any effects that are applied to this ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.