From 5e441037806b3a6687c07f80aad66c0aea05ccec Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Fri, 30 May 2025 15:35:08 +0800 Subject: [PATCH] 1 --- .../HotFix/GameLogic/Manager/DataGameSceneManager.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs index c2c9fc57..30ce3411 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs @@ -528,11 +528,7 @@ namespace GameLogic // 移动特效 eGo.transform.DOLocalMove(Vector3.zero, 1.5f).OnComplete(async () => { - await UniTask.Delay(2000); - if (eGo != null) - { - GameObject.Destroy(eGo); - } + GameObject.Destroy(eGo); }); }