Update patch manifest

This commit is contained in:
hevinci
2022-07-25 16:12:34 +08:00
parent 7881f39b97
commit c96fa23d61
3 changed files with 45 additions and 49 deletions
@@ -12,15 +12,20 @@ namespace YooAsset
[Serializable]
internal class PatchManifest
{
/// <summary>
/// 资源版本号
/// </summary>
public int ResourceVersion;
/// <summary>
/// 启用可寻址资源定位
/// </summary>
public bool EnableAddressable;
/// <summary>
/// 资源版本号
/// 文件名称样式
/// </summary>
public int ResourceVersion;
public int OutputNameStyle;
/// <summary>
/// 内置资源的标签列表(首包资源)
@@ -228,6 +233,7 @@ namespace YooAsset
foreach (var patchBundle in patchManifest.BundleList)
{
patchBundle.ParseFlagsValue();
patchBundle.ParseFileName(patchManifest.OutputNameStyle);
patchManifest.BundleDic.Add(patchBundle.BundleName, patchBundle);
}