public void Play() { if (consistent) { GameSound.Play(clips[index], volume); index++; if (index == clips.Length) { index--; } } else { GameSound.Play(clips.GetRandomItem(), volume); } }
public void OnClick() { GameSound.Play(sound); }