Okay! i know this has been asked before, but i want to get a final solution for this problem.
I have 26 audio clips that i want to play from one audio source.
How do i do this?
Any help will be appreciated.
Thanks
Okay! i know this has been asked before, but i want to get a final solution for this problem.
I have 26 audio clips that i want to play from one audio source.
How do i do this?
Any help will be appreciated.
Thanks
By using PlayOneShot. you need an audio source. and then u can play multiple audio clips.
public AudioClip firstAudioClip;
public AudioClip secondAudioClip;
void OnCollisionEnter() {
audio.PlayOneShot(firstAudioClip, 0.7F);
audio.PlayOneShot(secondAudioClip, 0.7F);
}