update AssetBundleBuilder
parent
9be5ec0f31
commit
71e8392359
|
@ -16,11 +16,6 @@ namespace YooAsset.Editor
|
||||||
|
|
||||||
var buildParameters = buildParametersContext.Parameters;
|
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)
|
if (buildParameters.BuildTarget == BuildTarget.NoTarget)
|
||||||
throw new Exception("请选择目标平台");
|
throw new Exception("请选择目标平台");
|
||||||
|
|
Loading…
Reference in New Issue