public void AddVehicleAllGameData(VehicleEntity vehicle) { if (!vehicle.hasCarGameData) { vehicle.AddCarGameData(); } if (!vehicle.hasVehicleBrokenFlag) { vehicle.AddVehicleBrokenFlag(); } ConfigVehicleAllGameData(vehicle); }
public void AddVehicleAllGameData(VehicleEntity vehicle) { if (!vehicle.hasCarGameData) { vehicle.AddCarGameData(); } if (!vehicle.hasVehicleBrokenFlag) { vehicle.AddVehicleBrokenFlag(); } ConfigVehicleAllGameData(vehicle); }