From 135b5ee1cfaf5859c6bdbfc9250103955879f892 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 20 十一月 2025 18:09:10 +0800
Subject: [PATCH] 125 战斗 怒气条特效层级错误修改

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

diff --git a/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs b/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
index d1eb653..3a7d57f 100644
--- a/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
+++ b/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
@@ -28,7 +28,6 @@
         {
             rendererAdjuster.SetSortingOrder(sortingOrder);
         }
-        battleObj.heroInfoBar.maxXpGO.SetSortingOrder(sortingOrder + 5);
 
         for (int i = 0; i < effectPlayers.Count; i++)
         {
diff --git a/Main/System/Battle/UIComp/BattleHeroInfoBar.cs b/Main/System/Battle/UIComp/BattleHeroInfoBar.cs
index f1c7851..9a969ca 100644
--- a/Main/System/Battle/UIComp/BattleHeroInfoBar.cs
+++ b/Main/System/Battle/UIComp/BattleHeroInfoBar.cs
@@ -40,7 +40,7 @@
     [Header("UI Components")]
     public Slider sliderHp;
     public Slider sliderXp;
-    public RendererAdjuster maxXpGO;
+    public GameObject maxXpGO;
     public Slider sliderShield1;
     public Slider sliderShield2;
     public BasicHeroInfoContainer heroInfoContainer;

--
Gitblit v1.8.0