Пример #1
0
 public void UpdateState()
 {
     enemy.setChaseDir();
     //Debug.Log("I am in PatrolState");
     look();
     patrol();
 }
Пример #2
0
 public void UpdateState()
 {
     enemy.setChaseDir();
     jump();
     if (!enemy.isSuperjumping)
     {
         ToChaseState();
     }
 }
Пример #3
0
    public void UpdateState()
    {
        enemy.setChaseDir();

        look();
        chase();
        attack();
        jump();
    }