public AirRide(Transform transform, RayConfig.AirRideRayConfig rayConfig, VehicleSettings.AirRideSettings airRideSettings) { mTransform = transform; AirRideRay airRideRay = new AirRideRay(transform, rayConfig); mGroundFollow = new GroundFollow(transform, airRideRay, airRideSettings); mBodyFloat = new BodyFloat(transform, airRideRay, airRideSettings); }
public AirRideRay(Transform transform, RayConfig.AirRideRayConfig airRideRay) { mTransform = transform; mRayConfig = airRideRay; }