Version: Unity 6.3 Alpha (6000.3)
Language : English
Audio Listener
Introduction to the Audio Source component

Audio Source

Switch to Scripting

The Audio Source is a component that plays an Audio ClipA container for audio data in Unity. Unity supports mono, stereo and multichannel audio assets (up to eight channels). Unity can import .aif, .wav, .mp3, and .ogg audio file format, and .xm, .mod, .it, and .s3m tracker module formats. More info
See in Glossary
in your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
and provides options to customize its playback behavior.

This information covers how to set up an audio source and what each of the component settings do.

Page Description
Introduction to the Audio Source component Information about the audio source, how it works with other audio components, and provides links to relevant useful APIs.
Audio Source component reference Learn about the settings of the audio source’s InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
window.
Set up an Audio Source component Instructions on how to create and configure an Audio Source component.

AudioSource

Audio Listener
Introduction to the Audio Source component
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961