// Update is called once per frame protected override void Update() { steeringUpdate = new SteeringOutput(); steeringUpdate.linear = myMoveType.getSteering().linear; steeringUpdate.angular = flee ? myFleeRotateType.getSteering().angular : mySeekRotateType.getSteering().angular; base.Update(); }
// Update is called once per frame protected override void Update() { steeringUpdate = myMoveType.getSteering(); base.Update(); }