Merge branch 'tuyoogame:main' into main

pull/62/head
Sayo 2023-02-15 22:57:24 +08:00 committed by GitHub
commit 2c650f2bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -16,11 +16,6 @@ namespace YooAsset.Editor
var buildParameters = buildParametersContext.Parameters;
#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
// 检测构建参数合法性
if (buildParameters.BuildTarget == BuildTarget.NoTarget)
throw new Exception("请选择目标平台");