Exemplo n.º 1
0
 private void PlayRandomSound()
 {
     soundPlayer.PlaySound(Random.Range(0, soundPlayer.GetSoundsLength()));
 }