update cache system

修复验证远端下载文件,极小概率失败的问题。
This commit is contained in:
hevinci
2023-05-29 19:28:07 +08:00
parent e9fa3ead04
commit c91c49465b
3 changed files with 19 additions and 15 deletions
@@ -49,8 +49,7 @@ namespace YooAsset
public string FileCRC { private set; get; }
public long FileSize { private set; get; }
public bool IsDone = false;
public EVerifyResult Result;
public int Result = 0; // 注意:原子操作对象
public VerifyTempElement(string tempDataFilePath, string fileCRC, long fileSize)
{