you could also remove the part where you change the audio clip and just use
audio.PlayOneShot(gravel[Random.Range(0,gravel.length)]);
2 lines. just fyi
↧