how to play sound in unity
public AudioSource Jump;
Jump.Play();
play sound unity
AudioSource audioData;
void Start()
{
audioData = GetComponent<AudioSource>();
audioData.Play(0);
Debug.Log("started");
}
what is the component for sound in unity
Audio Source