protected override void onBegin() { RocketEvaluator rocketEvaluator = (RocketEvaluator)evaluator; closestDistance = Vector3.Distance(rocketEvaluator.getTestSubject().transform.position, waypoint.transform.position); rocketEvaluator.getTestSubject().setTarget(waypoint.transform.position); waypoint.activate(this, rocketEvaluator.getTestSubject().gameObject); }