From 812db6dafe3300701eed86f50db0fd04a1baf529 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 14 Feb 2023 11:39:01 +0800 Subject: [PATCH] fix #65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复构建逻辑代码错误。 --- .../Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs index 297620c..5f839fd 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs @@ -16,7 +16,7 @@ namespace YooAsset.Editor var buildParameters = buildParametersContext.Parameters; -#if !UNITY_2021_1_OR_NEWER +#if UNITY_2021_1_OR_NEWER if (buildParameters.BuildPipeline == EBuildPipeline.BuiltinBuildPipeline) throw new Exception($"Unity2021 or newer not support {nameof(EBuildPipeline.BuiltinBuildPipeline)}, Please use {nameof(EBuildPipeline.ScriptableBuildPipeline)}"); #endif