清理指定地址的文件

(cherry picked from commit 41a1973be8f11c1629b334238546556f54101c35)
This commit is contained in:
DESKTOP-FIVME83\Administrator
2025-11-21 16:29:21 +08:00
committed by fslse
parent aab2c4625e
commit 78d24ad3a6
4 changed files with 164 additions and 0 deletions
@@ -158,6 +158,11 @@ namespace YooAsset
var operation = new ClearUnusedCacheBundleFilesOperation(this, manifest);
return operation;
}
else if (options.ClearMode == EFileClearMode.ClearBundleFilesByLocations.ToString())
{
var operation = new ClearCacheBundleFilesByLocationsOperaiton(this, manifest, options.ClearParam);
return operation;
}
else if (options.ClearMode == EFileClearMode.ClearBundleFilesByTags.ToString())
{
var operation = new ClearCacheBundleFilesByTagsOperaiton(this, manifest, options.ClearParam);