Update PatchSystem
移除YooAssets.ClearAllCacheFiles() 新增YooAssets.ClearUnusedCacheFiles();
This commit is contained in:
@@ -30,7 +30,6 @@ namespace YooAsset
|
||||
return _simulatePatchManifest.HumanReadableVersion;
|
||||
}
|
||||
|
||||
// 设置资源清单
|
||||
internal void SetSimulatePatchManifest(PatchManifest patchManifest)
|
||||
{
|
||||
_simulatePatchManifest = patchManifest;
|
||||
@@ -71,6 +70,10 @@ namespace YooAsset
|
||||
{
|
||||
return _simulatePatchManifest.PackageName;
|
||||
}
|
||||
bool IBundleServices.IsIncludeBundleFile(string fileName)
|
||||
{
|
||||
return _simulatePatchManifest.IsIncludeBundleFile(fileName);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user