Random spawn and random sounds, Unity 3D
This two things are easy to do but many people don’t know how, so I will explain.
Random spawn :
Play random sounds:
I’ve used playClipAtPosition to play the song even if the gameObject gets destroyed.
The idea is: we get a random number between 0 and the lenght of the array and play the sound with that index.