示例#1
0
 public void UpdateState()
 {
     enemy.setChaseDir();
     //Debug.Log("I am in PatrolState");
     look();
     patrol();
 }
示例#2
0
 public void UpdateState()
 {
     enemy.setChaseDir();
     //Debug.Log("I am in ChaseState");
     look();
     chase();
     attack();
 }