The fancy mix controls, dandy routing, effects etc all sounds great.
But what about some basic event system like like playing random sound of a group of clips, random pitch/volume of one sound, loop crossfades etc?
I can’t find that info anywhere.
The fancy mix controls, dandy routing, effects etc all sounds great.
But what about some basic event system like like playing random sound of a group of clips, random pitch/volume of one sound, loop crossfades etc?
I can’t find that info anywhere.
Unless I’m mistaken, you play random sounds from an array at random pitch/volumes in Unity 5 exactly the same way as you did in Unity 4. i.e.
// Pick a random clip from an array
public AudioClip[] audioClips;
audioSource.clip = Random.Range (0, audioClips.Length);
// At a random pitch
audioSource.pitch = Random.Range(0.95f, 1.05f);
audioSource.Play();