From 89343a7a0909e5244a3b69c4db1294de4536243b Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期一, 15 十二月 2025 18:15:22 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 新增仅适用武将解锁的头像和形象的红点移除规则

---
 Main/System/Battle/UIComp/SkillTips.cs |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/Main/System/Battle/UIComp/SkillTips.cs b/Main/System/Battle/UIComp/SkillTips.cs
index 08aca89..429bc1c 100644
--- a/Main/System/Battle/UIComp/SkillTips.cs
+++ b/Main/System/Battle/UIComp/SkillTips.cs
@@ -6,9 +6,9 @@
 
 public class SkillTips : MonoBehaviour
 {
-    public const float tweenDuration = 1f;
+    public const float tweenDuration = 0.5f;
 
-    public const float delayDuration = 0.4f;
+    public const float delayDuration = 1.1f;
 
     public const float beginingX = 400f;
 
@@ -36,7 +36,7 @@
 
         imgIcon.sprite = UILoader.LoadSprite("HeroHead", teamHero.skinConfig.SquareIcon);
         imgSkillName.sprite = UILoader.LoadSprite("SkillNameIcon", skillConfig.SkillTipsName);
-
+        imgSkillName.SetNativeSize();
         // 淇濊瘉寮�濮嬫椂鎵�鏈夊浘鐗囦负鍙锛坅lpha=1锛�
         if (imageBg != null) { var c = imageBg.color; c.a = 1f; imageBg.color = c; }
         if (imgIcon != null) { var c = imgIcon.color; c.a = 1f; imgIcon.color = c; }
@@ -65,6 +65,11 @@
                 seq.OnComplete(() =>
                 {
                     tween2 = null;
+                    // 鎭㈠鍥剧墖 alpha锛屼繚璇佷笅娆℃樉绀烘椂鍙
+                    if (imageBg != null) { var cc = imageBg.color; cc.a = 1f; imageBg.color = cc; }
+                    if (imgIcon != null) { var cc = imgIcon.color; cc.a = 1f; imgIcon.color = cc; }
+                    if (imgSkillName != null) { var cc = imgSkillName.color; cc.a = 1f; imgSkillName.color = cc; }
+
                     transform.localPosition = isRed ? new Vector3(-beginingX, posY, 0f) : new Vector3(beginingX, posY, 0f);
                     gameObject.SetActive(false);
                 });
@@ -94,6 +99,11 @@
             tween3.Kill();
             tween3 = null;
         }
+
+        // 琚己鍒跺仠姝㈡椂涔熼渶瑕佹仮澶� alpha
+        if (imageBg != null) { var cc = imageBg.color; cc.a = 1f; imageBg.color = cc; }
+        if (imgIcon != null) { var cc = imgIcon.color; cc.a = 1f; imgIcon.color = cc; }
+        if (imgSkillName != null) { var cc = imgSkillName.color; cc.a = 1f; imgSkillName.color = cc; }
     }
 
 }

--
Gitblit v1.8.0