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
+3 -2
View File
@@ -3,7 +3,8 @@ using System.Collections.Generic;
using UnityEngine;
public class Bomb : MonoBehaviour {
Animator animator;
Animator animator;
Rigidbody2D rigidBody;
public float timer;
@@ -15,11 +16,11 @@ public class Bomb : MonoBehaviour {
public Respawner respawner; //this can be respawned
float birthTime;
void Awake() {
animator = GetComponent<Animator> ();
rigidBody = GetComponent<Rigidbody2D> ();
if (timer < 0) {
animator.enabled = false;