From b322a848bac147185de73d144c320d63de557dc0 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 20 Dec 2022 16:17:16 +0800 Subject: [PATCH] update samples --- .../GameScript/Runtime/PatchLogic/FsmNode/FsmClearCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmClearCache.cs b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmClearCache.cs index 68f5aa9..3e0af38 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmClearCache.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmClearCache.cs @@ -18,7 +18,7 @@ internal class FsmClearCache : IStateNode { PatchEventDefine.PatchStatesChange.SendEventMessage("清理未使用的缓存文件!"); var package = YooAsset.YooAssets.GetAssetsPackage("DefaultPackage"); - var operation = package.ClearPackageUnusedCacheFilesAsync(); + var operation = package.ClearUnusedCacheFilesAsync(); operation.Completed += Operation_Completed; } void IStateNode.OnUpdate()