Пример #1
0
 public void playRandom(AudioClip[] clips)
 {
     audio.playOneShot(clips[maths.randZeroToNMinusOne(clips.Length)]);
 }