update runtime code

重构了PersistentTools类
This commit is contained in:
hevinci
2023-07-05 15:14:21 +08:00
parent c5314c72f0
commit 2643ab81ed
15 changed files with 246 additions and 216 deletions
@@ -35,7 +35,7 @@ namespace YooAsset
if (_steps == ESteps.LoadCachePackageVersionFile)
{
string filePath = PersistentTools.GetCachePackageVersionFilePath(_packageName);
string filePath = PersistentTools.GetPersistent(_packageName).GetSandboxPackageVersionFilePath();
if (File.Exists(filePath) == false)
{
_steps = ESteps.Done;