So let’s say I have a conversation script, and when a player clicks a line I want it to play a certain sound…so I do a simple
AudioSource audio = GetComponent<AudioSource>(); //plays an audio component
audio.Play();
But what if I have more than one audio file that I want to play throughout the conversation, do I need to make a new “AudioSource” component for each audio file?