We have collected the most relevant information on Unity3d Audio Source. Open the URLs, which are collected below, and you will find all the info you are interested in.


Unity - Scripting API: AudioSource

    https://docs.unity3d.com/ScriptReference/AudioSource.html
    //This script allows you to toggle music to play and stop. //Assign an AudioSource to a GameObject and attach an Audio Clip in the Audio Source. Attach this script to the GameObject. using UnityEngine; public class Example : MonoBehaviour { AudioSource m_MyAudioSource; //Play the music bool m_Play; //Detect when you use the toggle, ensures music isn’t played …

Unity - Scripting API: AudioSource.Play

    https://docs.unity3d.com/ScriptReference/AudioSource.Play.html
    AudioSource will assume any Play call will have a new audio clip to play. Note: The AudioSource.PlayScheduled API will give you more accurate control over when the audio clip is played. using UnityEngine; // The Audio Source component has an AudioClip option. The audio // played in this example comes from AudioClip and is called audioData.

Unity - Manual: Audio Source

    https://docs.unity3d.com/2017.4/Documentation/Manual/class-AudioSource.html
    The Audio Source plays back an Audio Clip in the scene. The clip can be played to an audio listener or through an audio mixer.The audio source can play any type of Audio Clip and can be configured to play these as 2D, 3D, or as a mixture (SpatialBlend).The audio can be spread out between speakers (stereo to 7.1) (Spread) and morphed between 3D and 2D (SpatialBlend).

Now you know Unity3d Audio Source

Now that you know Unity3d Audio Source, we suggest that you familiarize yourself with information on similar questions.