private void AccessToResources() { mGearParam = Resources.Load(ConstString.Path.GEAR_PARAM) as GearParam; mRayConfig = Resources.Load(ConstString.Path.RAY_CONFIG) as RayConfig; mWheelParams = Resources.Load(ConstString.Path.WHEEL_PARAM) as WheelParams; mVehicleSettings = Resources.Load(ConstString.Path.VEHICLE_SETTINGS) as VehicleSettings; }
public RayConfigRepository(string configFilePath = "") { rayConfig = new RayConfig(configFilePath); }