diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs index 2136ce5..2358427 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs @@ -80,6 +80,7 @@ namespace YooAsset.Editor var buildResult = BuildRunner.Run(pipeline, _buildContext); if (buildResult.Success) { + buildResult.OutputPackageDirectory = buildParametersContext.GetPackageDirectory(); Debug.Log($"{buildParameters.BuildMode} pipeline build succeed !"); } else diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildSystem/BuildResult.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildSystem/BuildResult.cs index 619db33..c47623d 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildSystem/BuildResult.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildSystem/BuildResult.cs @@ -20,5 +20,10 @@ namespace YooAsset.Editor /// 构建失败的信息 /// public string FailedInfo; + + /// + /// 输出的补丁包目录 + /// + public string OutputPackageDirectory; } } \ No newline at end of file