From afc456de9a607089868c63d7d065c5533c42ea93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=86=A0=E5=B3=B0?= Date: Wed, 12 Feb 2025 14:44:02 +0800 Subject: [PATCH] Update UnloadAllAssetsOperation.cs --- .../ResourceManager/Operation/UnloadAllAssetsOperation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/YooAsset/Runtime/ResourceManager/Operation/UnloadAllAssetsOperation.cs b/Assets/YooAsset/Runtime/ResourceManager/Operation/UnloadAllAssetsOperation.cs index f208426d..968bca50 100644 --- a/Assets/YooAsset/Runtime/ResourceManager/Operation/UnloadAllAssetsOperation.cs +++ b/Assets/YooAsset/Runtime/ResourceManager/Operation/UnloadAllAssetsOperation.cs @@ -8,12 +8,12 @@ namespace YooAsset /// /// 释放所有资源句柄,防止卸载过程中触发完成回调! /// - public bool ReleaseAllHandles = true; + public bool ReleaseAllHandles = false; /// /// 卸载过程中锁定加载操作,防止新的任务请求! /// - public bool LockLoadOperation = true; + public bool LockLoadOperation = false; } public sealed class UnloadAllAssetsOperation : AsyncOperationBase