Is there a way to have an Audio source that outputs a sound, then while that sound is still playing, have another one play from the same source without having to wait for the first sound to end and without cutting the first one off?
Use
AudioSource.PlayOneShot(clip);
or any ther Audio functions. This will create a new object of type AudioSource that will suicide on completion of the audio file. So you can create and play as many as your device can take.
Hi,
for this you need two audiosources pointing to the same audiofile. If you want many sounds like a gun, you need something called pooling. You basically have a pool of same audio files and play them overlapping.
Audio Toolkit features audio pooling. If you make a Shooter think about Ultimate Character controller.