Added a bunch of features

This commit is contained in:
2018-04-11 16:54:57 +10:00
parent 2cd21dc329
commit a13da880b1
17 changed files with 737 additions and 23 deletions
+16
View File
@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundController : MonoBehaviour {
AudioSource audioSource;
public AudioClip snapShot;
void Awake() {
audioSource = GetComponent<AudioSource> ();
}
public void PlaySnapShot() {
audioSource.PlayOneShot (snapShot, 1.0f);
}
}