Answers for "unity play at sound"

C#
5

play sound unity

AudioSource audioData;

    void Start()
    {
        audioData = GetComponent<AudioSource>();
        audioData.Play(0);
        Debug.Log("started");
    }
Posted by: Guest on September-04-2020
1

unity play sound effect

public AudioSource audioData;

void Start()
{
	audioData.Play();
}
Posted by: Guest on January-11-2022

C# Answers by Framework

Browse Popular Code Answers by Language