diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs index 02ebf79..2a69920 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs @@ -30,7 +30,7 @@ namespace YooAsset.Editor /// public static string MakePipelineOutputDirectory(string outputRoot, BuildTarget buildTarget) { - return $"{outputRoot}/{buildTarget}/{YooAssetSettingsData.Setting.OutputFolderName}"; + return $"{outputRoot}/{buildTarget}/{YooAssetSettings.OutputFolderName}"; } /// diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchPackage.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchPackage.cs index 58ea164..a99ae92 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchPackage.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePatchPackage.cs @@ -75,15 +75,15 @@ namespace YooAsset.Editor { // 拷贝UnityManifest序列化文件 { - string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}"; - string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}"; + string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettings.OutputFolderName}"; + string destPath = $"{packageDirectory}/{YooAssetSettings.OutputFolderName}"; EditorTools.CopyFile(sourcePath, destPath, true); } // 拷贝UnityManifest文本文件 { - string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}.manifest"; - string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}.manifest"; + string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettings.OutputFolderName}.manifest"; + string destPath = $"{packageDirectory}/{YooAssetSettings.OutputFolderName}.manifest"; EditorTools.CopyFile(sourcePath, destPath, true); } }