コード例 #1
0
 public void ToChaseState()
 {
     if (enemy.distance > enemy.chaseDistance)
     {
         enemy.StopAttackPlayer();
         enemy.currentState = enemy.chaseState;
     }
 }