From b7c8383b0620a6909010b4fcb18756664b725cca Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Thu, 26 Jun 2025 12:20:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs index 53ff4d63..c1cf2994 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs @@ -311,13 +311,6 @@ namespace GameLogic // 动画异步执行,不阻塞主流程 eGo.transform.DOLocalMoveX(0, 1.5f).OnComplete(() => { - GameObject.Destroy(eGo); - }); - - - GameModule.Timer.AddTimer((e) => - { - // 生成新爆点 var eGoBoom = GameModule.Resource.LoadGameObject("LJF_Boom"); eGoBoom.transform.SetParent(m_rectCar.transform); @@ -335,7 +328,10 @@ namespace GameLogic // 直接扣 m_AllPush += (int)buff.addPower / 5; - }, 1.5f); + + GameObject.Destroy(eGo); + }); + // 严格每500ms生成一个特效 await UniTask.Delay(500);