From 5fada120771cff77dbd8c1e72a0e3265645f7b36 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Fri, 30 May 2025 17:34:11 +0800 Subject: [PATCH] 1 --- .../HotFix/GameLogic/Actor/ActorHItem.cs | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs index 1c1198ab..564af4bb 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs @@ -468,23 +468,11 @@ namespace GameLogic eGo.transform.DOLocalMoveX(0, 3f).OnComplete(async () => { - - // 特效播放完毕后销毁 GameObject.Destroy(eGo); - - //// 生成爆点 - //var effectGo = GameModule.Resource.LoadGameObject("Shou_Boom"); - //effectGo.transform.SetParent(m_rectCar.transform); - //effectGo.transform.localPosition = Vector3.zero; - //effectGo.transform.localScale = Vector3.one; - //effectGo.gameObject.SetActive(true); - //await UniTask.Delay(2000); - //// 销毁爆点特效 - //GameObject.Destroy(effectGo); }); - await UniTask.Delay(2500); // 等待特效播放完毕 + await UniTask.Delay(1500); // 等待特效播放完毕 // 给进度条一个缩减回弹效果 float originalFill = m_CurrentFillAmount; @@ -498,7 +486,7 @@ namespace GameLogic DOTween.To( () => m_imgValue.fillAmount, x => m_imgValue.fillAmount = x, - originalFill, 2f + originalFill, 1.2f ).SetEase(Ease.OutElastic); });