So much audio stuff holy shit

This commit is contained in:
Gregory Campbell
2020-07-12 01:07:52 -04:00
parent d2c7bd90e1
commit e2aef2a35b
45 changed files with 275 additions and 58 deletions
+3
View File
@@ -72,6 +72,9 @@ public class PlayerScript : MonoBehaviour
if(other.gameObject.tag == "Enemy")
{
AudioSource.PlayClipAtPoint(
damage[Random.Range(0,damage.Length)], new Vector3(0, 0, 0));
life--;
if(life > 0)