Update README.md
[BattleCats.git] / Assets / Scripts / Sound / BulletAudioVariation.cs
blobb2507c814d923b7d990d21be028df96ff2e525dc
1 using System.Collections;
2 using System.Collections.Generic;
3 using UnityEngine;
5 public class BulletAudioVariation : MonoBehaviour {
7 AudioSource bulletSound;
9 void Awake(){
10 bulletSound = GetComponent<AudioSource> ();
11 bulletSound.volume = Random.Range (0.3f, 1.0f);
12 bulletSound.Play ();