Vodka vision implemented
This commit is contained in:
parent
97e36bd4eb
commit
a4bf704306
15 changed files with 277 additions and 27 deletions
|
|
@ -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);
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue