Exemple #1
0
 private void OnEnable()
 {
     if (EnemyPath.points == null)
     {
         return;
     }
     transform.position = EnemyPath.GetFirstPoint();
     target             = EnemyPath.GetNextPoint(0);
     currentPoint       = 1;
 }