About 508,000 results
Open links in new tab
  1. Unity - Scripting API: AudioSource

    A representation of audio sources in 3D. Attach an AudioSource to a GameObject to play back sounds in a 3D environment. To play 3D sounds you also need to have an AudioListener. …

  2. How do I use an Audio Source in a script? - Unity

    The Audio Source is a controller for starting and stopping playback of that clip, and modifying other audio properties. Audio Sources need to be attached as a component to a GameObject.

  3. How to play audio in Unity (with examples) - Game Dev Beginner

    Sep 17, 2019 · Learn the basic methods for playing audio from scripting in Unity, with helpful examples that you can copy and paste in to your own project.

  4. Bringing Sound to Life: A Comprehensive Guide to Creating an ...

    Jul 11, 2025 · An AudioSource in Unity is a component that allows developers to play back audio files in their game or application. It is a crucial element in creating an immersive experience for …

  5. Audio Setup - Unity Learn

    Unity accepts most standard audio file formats such as .wav, .mp3, and .ogg files. When working with sound files in Unity, it’s best to have already prepared your sound files in an external …

  6. Unity - Manual: Audio Source

    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 …

  7. Unity - Audio Source

    The Audio Source plays back an Audio Clip in the scene. If the Audio Clip is a 3D clip, the source is played back at a given position and will attenuate over distance.

  8. The Complete Guide to Unity3D Audio Components: What They …

    Jul 29, 2025 · What is an Audio Source in Unity? The Audio Source component is responsible for playing sounds music, voice lines, sound effects, and more. How to Add an Audio Source in …

  9. Unity - Manual: Set up an Audio Source component

    To create and configure an audio source: Import your audio files. Create an audio source. Assign an audio clip to your audio source. Alter the settings of your audio source. To import your …

  10. AudioUnity Support Help Center

    How do I use an Audio Source in a script? I am getting a lot of sound latency when developing my game for Android. How can I get my sounds to play immediately? I want my game to trigger an …