From f80a3229cc4d118fefd4db6101dd9fe744e16213 Mon Sep 17 00:00:00 2001 From: hevinci Date: Sun, 31 Jul 2022 22:53:30 +0800 Subject: [PATCH] Update AssetBundleBuilder --- .../Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs | 2 +- .../BuildTasks/TaskCreatePatchPackage.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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); } }