mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-07-02 20:03:42 +00:00
Simplify the concept of resource version
简化资源版本概念
This commit is contained in:
@@ -31,5 +31,21 @@ namespace YooAsset
|
||||
YooLogger.Log("YooAsset use custom settings.");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取补丁清单文件完整名称
|
||||
/// </summary>
|
||||
public static string GetPatchManifestFileName(int resourceVersion)
|
||||
{
|
||||
return $"{Setting.PatchManifestFileName}_{resourceVersion}.bytes";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取补丁清单哈希文件完整名称
|
||||
/// </summary>
|
||||
public static string GetPatchManifestHashFileName(int resourceVersion)
|
||||
{
|
||||
return $"{Setting.PatchManifestFileName}_{resourceVersion}.hash";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user