Sounds added

This commit is contained in:
Logic Monkey
2018-04-22 19:11:55 -04:00
parent c6b700f51e
commit 47713e6012
50 changed files with 1979 additions and 146 deletions
+23
View File
@@ -0,0 +1,23 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExplosionSoundManager : MonoBehaviour {
static AudioSource asrc;
// Use this for initialization
void Awake () {
if (asrc == null)
{
asrc = GetComponent<AudioSource>();
asrc.Play();
}
}
void LateUpdate () {
asrc = null;
}
}