Vodka vision implemented

This commit is contained in:
shakurass 2014-04-26 17:28:14 -06:00
commit a4bf704306
15 changed files with 277 additions and 27 deletions

View file

@ -5,6 +5,8 @@ public class Patron : MonoBehaviour {
public GameObject[] destinations;
public int currentDestIndex = 0;
public Material evilMat;
public Material neutralMat;
private NavMeshAgent nva;
@ -31,6 +33,10 @@ public class Patron : MonoBehaviour {
//Instantiate (playerExplosion, other.transform.position, other.transform.rotation);
Destroy(gameObject);
}
if (other.tag == "VVAura") {
renderer.material = evilMat;
}
// gameController.AddScore (scoreValue);
//