Update TaskCreateReport.cs

pull/40/head
hevinci 2022-09-21 11:20:41 +08:00
parent 3a7f3bb68d
commit 778b097f7a
1 changed files with 3 additions and 5 deletions

View File

@ -19,11 +19,9 @@ namespace YooAsset.Editor
{ {
CreateReportFile(buildParameters, buildMapContext); CreateReportFile(buildParameters, buildMapContext);
} }
else
{ float buildSeconds = buildParameters.GetBuildingSeconds();
float buildSeconds = buildParameters.GetBuildingSeconds(); BuildRunner.Info($"Build time consuming {buildSeconds} seconds.");
BuildRunner.Info($"Build time consuming {buildSeconds} seconds.");
}
} }
private void CreateReportFile(BuildParametersContext buildParameters, BuildMapContext buildMapContext) private void CreateReportFile(BuildParametersContext buildParameters, BuildMapContext buildMapContext)