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()