Hello, was wondering if it is possible to play a sound based off a name and a number.
So, this is what I’m trying to do:
soundName + 0.audio.Play();
soundName + 1.audio.Play();
soundName + 2.audio.Play();
I’d like to do this while looping through an array.
I am pretty sure you can do this in Flash, but I’m not sure it’s possible in Unity. Perhaps I have to create a list?
Any help would be appreciated!