From 778b097f7ae3e8784ccc533f15c60423b5186cd2 Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 21 Sep 2022 11:20:41 +0800 Subject: [PATCH] Update TaskCreateReport.cs --- .../AssetBundleBuilder/BuildTasks/TaskCreateReport.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreateReport.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreateReport.cs index 27054f7..c74e638 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreateReport.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreateReport.cs @@ -19,11 +19,9 @@ namespace YooAsset.Editor { CreateReportFile(buildParameters, buildMapContext); } - else - { - float buildSeconds = buildParameters.GetBuildingSeconds(); - BuildRunner.Info($"Build time consuming {buildSeconds} seconds."); - } + + float buildSeconds = buildParameters.GetBuildingSeconds(); + BuildRunner.Info($"Build time consuming {buildSeconds} seconds."); } private void CreateReportFile(BuildParametersContext buildParameters, BuildMapContext buildMapContext)