mirror of https://github.com/tuyoogame/YooAsset
Update AssetBundleBuilder
parent
d94d196c83
commit
f80a3229cc
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue