Separated walk AI from demon/patron reactions.

This commit is contained in:
shakurass 2014-04-27 11:02:42 -06:00
commit 1be47add34
11 changed files with 464 additions and 886 deletions

View file

@ -3,7 +3,7 @@ using System.Collections;
public class NavPoint : MonoBehaviour {
void OnTriggerEnter(Collider other) {
Patron p = other.gameObject.GetComponent<Patron>();
WalkAI p = other.gameObject.GetComponent<WalkAI>();
if(p != null)
p.NextDest();
}