update file system

This commit is contained in:
何冠峰
2024-07-05 19:29:34 +08:00
parent b151f968d7
commit a9e5e7fdd3
21 changed files with 350 additions and 513 deletions
@@ -81,7 +81,7 @@ namespace YooAsset
foreach (var chidDirectory in childDirectories)
{
string bundleGUID = chidDirectory.Name;
if (_fileSystem.Exists(bundleGUID))
if (_fileSystem.IsRecordFile(bundleGUID))
continue;
// 创建验证元素类
@@ -159,7 +159,7 @@ namespace YooAsset
{
_succeedCount++;
var fileWrapper = new DefaultCacheFileSystem.FileWrapper(element.InfoFilePath, element.DataFilePath, element.DataFileCRC, element.DataFileSize);
_fileSystem.Record(element.BundleGUID, fileWrapper);
_fileSystem.RecordFile(element.BundleGUID, fileWrapper);
}
else
{