From 10d778c52bd86884b58f0b2fa0bcb67e9f97db52 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 27 十月 2025 10:43:17 +0800
Subject: [PATCH] 125 战斗 战斗角色特效技能蒙版层级调整 SkillTips 技能名字使用原始尺寸 NativeSize

---
 Main/System/Battle/BattleConst.cs      |   76 ++++++++++++++++++++------------------
 Main/System/Battle/UIComp/SkillTips.cs |    2 
 2 files changed, 41 insertions(+), 37 deletions(-)

diff --git a/Main/System/Battle/BattleConst.cs b/Main/System/Battle/BattleConst.cs
index 8db0d11..e32d545 100644
--- a/Main/System/Battle/BattleConst.cs
+++ b/Main/System/Battle/BattleConst.cs
@@ -58,14 +58,7 @@
     //  鐜板湪鏈熸湜 钂欑増涓嶈鍘嬩綇UI 鏇存敼绛栫暐
     //  閲婃斁鎶�鑳借嫳闆�>鍙楀奖鍝嶈嫳闆�>姝e父UI>榛戣壊钂欑増>鏈彈褰卞搷鑻遍泟>搴曞浘
 
-    //  閲婃斁鎶�鑳借嫳闆�>鍙楀奖鍝嶈嫳闆�>姝e父UI>榛戣壊钂欑増>鏈彈褰卞搷鑻遍泟>[搴曞浘]
-    public static int BattleBackgroundOrder
-    {
-        get
-        {
-            return BattleWinSortingOrder - 10;
-        }
-    }
+
 
     //閲婃斁鎶�鑳借嫳闆�>鍙楀奖鍝嶈嫳闆�>[姝e父UI]>榛戣壊钂欑増>鏈彈褰卞搷鑻遍泟>搴曞浘
     public static int BattleWinSortingOrder
@@ -101,13 +94,12 @@
         }
     }
 
-    //閲婃斁鎶�鑳借嫳闆�>鍙楀奖鍝嶈嫳闆�>姝e父UI>榛戣壊钂欑増>[鏈彈褰卞搷鑻遍泟]>搴曞浘
-    // 闈炴縺娲昏嫳闆勭殑灞傜骇
-    public static int UnactiveHeroSortingOrder
+    //  閲婃斁鎶�鑳借嫳闆�>鍙楀奖鍝嶈嫳闆�>姝e父UI>榛戣壊钂欑増>鏈彈褰卞搷鑻遍泟>[搴曞浘]
+    public static int BattleBackgroundOrder
     {
         get
         {
-            return BattleWinSortingOrder - 8;
+            return BattleWinSortingOrder - 10;
         }
     }
 
@@ -116,7 +108,18 @@
     {
         get
         {
-            return BattleWinSortingOrder - 9;
+            return BattleBackgroundOrder + 1;
+        }
+    }
+
+
+    //閲婃斁鎶�鑳借嫳闆�>鍙楀奖鍝嶈嫳闆�>姝e父UI>榛戣壊钂欑増>[鏈彈褰卞搷鑻遍泟]>搴曞浘
+    // 闈炴縺娲昏嫳闆勭殑灞傜骇
+    public static int UnactiveHeroSortingOrder
+    {
+        get
+        {
+            return UnactiveHeroBackSortingOrder + 1;
         }
     }
 
@@ -125,7 +128,7 @@
     {
         get
         {
-            return BattleWinSortingOrder - 7;
+            return UnactiveHeroSortingOrder + 1;
         }
     }
 
@@ -135,7 +138,16 @@
     {
         get
         {
-            return BattleWinSortingOrder - 6;
+            return UnactiveHeroFrontSortingOrder + 1;
+        }
+    }
+
+    // 婵�娲昏嫳闆勭殑鍚庣壒鏁�
+    public static int ActiveHeroBackSortingOrder
+    {
+        get
+        {
+            return BlockerSortingOrder + 1;
         }
     }
 
@@ -145,26 +157,7 @@
     {
         get
         {
-            return BattleWinSortingOrder - 4;
-        }
-    }
-
-
-    // 婵�娲昏嫳闆勭殑鍚庣壒鏁�
-    public static int ActiveHeroBackSortingOrder
-    {
-        get
-        {
-            return ActiveHeroSortingOrder - 5;
-        }
-    }
-
-    // 婵�娲昏嫳闆勭殑鍓嶇壒鏁�
-    public static int ActiveHeroFrontSortingOrder
-    {
-        get
-        {
-            return ActiveHeroSortingOrder - 3;
+            return ActiveHeroBackSortingOrder + 1;
         }
     }
 
@@ -174,9 +167,20 @@
     {
         get
         {
-            return ActiveHeroSortingOrder - 2;
+            return ActiveHeroSortingOrder + 1;
         }
     }
 
+    // 婵�娲昏嫳闆勭殑鍓嶇壒鏁�
+    public static int ActiveHeroFrontSortingOrder
+    {
+        get
+        {
+            return ActiveHeroActionSortingOrder + 1;
+        }
+    }
+
+
+
 
 }
\ No newline at end of file
diff --git a/Main/System/Battle/UIComp/SkillTips.cs b/Main/System/Battle/UIComp/SkillTips.cs
index 8e7d942..b3d0af9 100644
--- a/Main/System/Battle/UIComp/SkillTips.cs
+++ b/Main/System/Battle/UIComp/SkillTips.cs
@@ -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; }

--
Gitblit v1.8.0