Smoothed animation for taking a swig.

This commit is contained in:
shakurass 2014-04-27 11:55:25 -06:00
commit d0a546ffac
16 changed files with 1306 additions and 481 deletions

View file

@ -3,6 +3,8 @@ using System.Collections;
public class Demon : MonoBehaviour {
public Renderer characterSprite;
void OnTriggerEnter(Collider other) {
//Instantiate(explosion, transform.position, transform.rotation);
@ -13,7 +15,7 @@ public class Demon : MonoBehaviour {
}
if (other.tag == "VVAura") {
renderer.material.color = Color.red;
characterSprite.renderer.material.color = Color.red;
}
}
}