update samples
parent
4e759134bd
commit
b322a848ba
|
@ -18,7 +18,7 @@ internal class FsmClearCache : IStateNode
|
||||||
{
|
{
|
||||||
PatchEventDefine.PatchStatesChange.SendEventMessage("清理未使用的缓存文件!");
|
PatchEventDefine.PatchStatesChange.SendEventMessage("清理未使用的缓存文件!");
|
||||||
var package = YooAsset.YooAssets.GetAssetsPackage("DefaultPackage");
|
var package = YooAsset.YooAssets.GetAssetsPackage("DefaultPackage");
|
||||||
var operation = package.ClearPackageUnusedCacheFilesAsync();
|
var operation = package.ClearUnusedCacheFilesAsync();
|
||||||
operation.Completed += Operation_Completed;
|
operation.Completed += Operation_Completed;
|
||||||
}
|
}
|
||||||
void IStateNode.OnUpdate()
|
void IStateNode.OnUpdate()
|
||||||
|
|
Loading…
Reference in New Issue