protected override void DoRoaming()
        {
            if (IsOutsideOfZone)
            {
                MovementDirection = -Mover.transform.parent.root.position;
            }

            Mover.MoveTowardsDirection(MovementDirection);
            noEnemySightRoutine.UpdateSightRoutine(MovementDirection);
        }
예제 #2
0
 protected override void DoRoaming()
 {
     Mover.MoveTowardsDirection(MovementDirection);
     noEnemySightRoutine.UpdateSightRoutine(MovementDirection);
 }