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