From 35868f94aede29d54b3ca0a0e78aaa4b05af5007 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 11 十一月 2025 18:24:10 +0800
Subject: [PATCH] 125 战斗 怒气特效

---
 Main/System/Battle/UIComp/BattleHeroInfoBar.cs          |    2 +-
 Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs b/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
index 7e0eed3..0b40886 100644
--- a/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
+++ b/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
@@ -28,6 +28,7 @@
         {
             rendererAdjuster.SetSortingOrder(sortingOrder);
         }
+        battleObj.heroInfoBar.maxXpGO.SetSortingOrder(sortingOrder + 5);
     }
 
     public void AddEffect(BattleEffectPlayer effectPlayer)
diff --git a/Main/System/Battle/UIComp/BattleHeroInfoBar.cs b/Main/System/Battle/UIComp/BattleHeroInfoBar.cs
index 9b60749..d118d33 100644
--- a/Main/System/Battle/UIComp/BattleHeroInfoBar.cs
+++ b/Main/System/Battle/UIComp/BattleHeroInfoBar.cs
@@ -38,7 +38,7 @@
     [Header("UI Components")]
     public Slider sliderHp;
     public Slider sliderXp;
-    public GameObject maxXpGO;
+    public RendererAdjuster maxXpGO;
     public Slider sliderShield1;
     public Slider sliderShield2;
     public BasicHeroInfoContainer heroInfoContainer;

--
Gitblit v1.8.0