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