Пример #1
0
        protected override void DoEngaging()
        {
            engagingMovementRoutine.UpdateMovementRoutine(CurrentEnemyTarget.transform.root.position);
            Mover.RotateTowardsDirection(GetPredictiveAimDirection(CurrentEnemyTarget));

            HandController.Use();
        }
Пример #2
0
        protected override void DoRetreating()
        {
            if (!IsOutsideOfZone)
            {
                retreatingMovementRoutine.UpdateMovementRoutine(NpcSensorSight.GetClosestNpc().transform.root.position);
            }

            Mover.RotateTowardsDirection(GetPredictiveAimDirection(CurrentEnemyTarget));

            HandController.Use();
        }