update new cache system

重新设计了资源缓存系统
This commit is contained in:
hevinci
2023-02-07 18:39:08 +08:00
parent 33a1b9d4bf
commit 8ce8e81792
38 changed files with 858 additions and 841 deletions
@@ -239,11 +239,11 @@ namespace YooAsset
/// <summary>
/// 是否包含资源文件
/// </summary>
public bool IsIncludeBundleFile(string fileName)
public bool IsIncludeBundleFile(string cacheGUID)
{
foreach (var patchBundle in BundleList)
{
if (patchBundle.FileName == fileName)
if (patchBundle.CacheGUID == cacheGUID)
return true;
}
return false;