Update AssetBundleBuilder

pull/31/head
hevinci 2022-07-31 22:53:30 +08:00
parent d94d196c83
commit f80a3229cc
2 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ namespace YooAsset.Editor
/// </summary> /// </summary>
public static string MakePipelineOutputDirectory(string outputRoot, BuildTarget buildTarget) public static string MakePipelineOutputDirectory(string outputRoot, BuildTarget buildTarget)
{ {
return $"{outputRoot}/{buildTarget}/{YooAssetSettingsData.Setting.OutputFolderName}"; return $"{outputRoot}/{buildTarget}/{YooAssetSettings.OutputFolderName}";
} }
/// <summary> /// <summary>

View File

@ -75,15 +75,15 @@ namespace YooAsset.Editor
{ {
// 拷贝UnityManifest序列化文件 // 拷贝UnityManifest序列化文件
{ {
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}"; string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettings.OutputFolderName}";
string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}"; string destPath = $"{packageDirectory}/{YooAssetSettings.OutputFolderName}";
EditorTools.CopyFile(sourcePath, destPath, true); EditorTools.CopyFile(sourcePath, destPath, true);
} }
// 拷贝UnityManifest文本文件 // 拷贝UnityManifest文本文件
{ {
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}.manifest"; string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettings.OutputFolderName}.manifest";
string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}.manifest"; string destPath = $"{packageDirectory}/{YooAssetSettings.OutputFolderName}.manifest";
EditorTools.CopyFile(sourcePath, destPath, true); EditorTools.CopyFile(sourcePath, destPath, true);
} }
} }