From 78a9b0e3a368d2b59fd6559a2be1f50d32040ea0 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 18 十一月 2025 18:14:49 +0800
Subject: [PATCH] 125 战斗 tagAim=6的支持 持续buff层级永远在最前
---
Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs b/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
index 0b40886..d1eb653 100644
--- a/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
+++ b/Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
@@ -29,6 +29,11 @@
rendererAdjuster.SetSortingOrder(sortingOrder);
}
battleObj.heroInfoBar.maxXpGO.SetSortingOrder(sortingOrder + 5);
+
+ for (int i = 0; i < effectPlayers.Count; i++)
+ {
+ effectPlayers[i]?.ApplySortingOrder();
+ }
}
public void AddEffect(BattleEffectPlayer effectPlayer)
--
Gitblit v1.8.0