update cache system

新增方法ResoucePackage.ClearAllCacheFilesAsync()
This commit is contained in:
hevinci
2023-05-12 14:30:08 +08:00
parent 812c46adeb
commit e6397559ff
5 changed files with 101 additions and 2 deletions
@@ -251,6 +251,17 @@ namespace YooAsset
return operation;
}
/// <summary>
/// 清理包裹本地所有的缓存文件
/// </summary>
public ClearAllCacheFilesOperation ClearAllCacheFilesAsync()
{
DebugCheckInitialize();
var operation = new ClearAllCacheFilesOperation(this);
OperationSystem.StartOperation(operation);
return operation;
}
/// <summary>
/// 获取本地包裹的版本信息
/// </summary>