feat : package manifest add note info

清单文件增加备注信息
This commit is contained in:
何冠峰
2024-12-11 11:22:50 +08:00
parent d890ccd5e6
commit 5fa9ebee80
10 changed files with 36 additions and 1 deletions

View File

@@ -46,6 +46,10 @@ namespace YooAsset.Editor
/// </summary>
public string PackageVersion;
/// <summary>
/// 构建的包裹备注
/// </summary>
public string PackageNote;
/// <summary>
/// 是否启用共享资源打包
@@ -159,6 +163,12 @@ namespace YooAsset.Editor
{
BuildLogger.Log($"Create pipeline output directory: {pipelineOutputDirectory}");
}
// 设置默认备注信息
if (string.IsNullOrEmpty(PackageNote))
{
PackageNote = DateTime.Now.ToString();
}
}