Update AssetBundleBuilder
AssetBundleBuilder界面增加演练构建选项。 构建文件名增加版本信息。
This commit is contained in:
@@ -28,7 +28,7 @@ namespace YooAsset
|
||||
/// <summary>
|
||||
/// 构建输出的报告文件
|
||||
/// </summary>
|
||||
public const string ReportFileName = "BuildReport.json";
|
||||
public const string ReportFileName = "BuildReport";
|
||||
|
||||
/// <summary>
|
||||
/// 静态版本文件
|
||||
|
||||
@@ -32,6 +32,14 @@ namespace YooAsset
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取构建报告文件名
|
||||
/// </summary>
|
||||
public static string GetReportFileName(int resourceVersion)
|
||||
{
|
||||
return $"{YooAssetSettings.ReportFileName}_{resourceVersion}.json";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取补丁清单文件完整名称
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user