Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

play sound unity

AudioSource audioData;

    void Start()
    {
        audioData = GetComponent<AudioSource>();
        audioData.Play(0);
        Debug.Log("started");
    }
 
PREVIOUS NEXT
Tagged: #play #sound #unity
ADD COMMENT
Topic
Name
3+2 =