From c9a0511e06d6ae2d83fc5554ee40a6a40dbd283d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 11 十一月 2025 20:15:16 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts

---
 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