update cache system

缓存系统支持后缀名存储方式
This commit is contained in:
hevinci
2023-02-22 16:46:36 +08:00
parent 8958317f61
commit d1f2712e5f
5 changed files with 38 additions and 16 deletions
@@ -72,7 +72,7 @@ namespace YooAsset
return _cachedDataFilePath;
string cacheRoot = PersistentHelper.GetCacheFolderPath(PackageName);
_cachedDataFilePath = $"{cacheRoot}/{CacheGUID}/{YooAssetSettings.CacheBundleDataFileName}";
_cachedDataFilePath = $"{cacheRoot}/{CacheGUID}/{YooAssetSettings.CacheBundleDataFileName}{_fileExtension}";
return _cachedDataFilePath;
}
}