Update AssetBundleBuilder

AssetBundleBuilder界面增加演练构建选项。
构建文件名增加版本信息。
This commit is contained in:
hevinci
2022-04-27 11:02:30 +08:00
parent 15dc047488
commit 775c724840
9 changed files with 44 additions and 7 deletions
@@ -28,8 +28,9 @@ namespace YooAsset.Editor
// 拷贝Report文件
{
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettings.ReportFileName}";
string destPath = $"{packageDirectory}/{YooAssetSettings.ReportFileName}";
string reportFileName = YooAssetSettingsData.GetReportFileName(buildParameters.Parameters.BuildVersion);
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{reportFileName}";
string destPath = $"{packageDirectory}/{reportFileName}";
EditorTools.CopyFile(sourcePath, destPath, true);
UnityEngine.Debug.Log($"拷贝构建报告文件到:{destPath}");
}