yyl
2026-01-28 d1ec6bf485cf9179d157554eaef7a2339233dd03
Main/System/Battle/BattleObject/BattleObjectLayerMgr.cs
@@ -22,8 +22,8 @@
    public void Init(BattleObject battleObj)
    {
        this.battleObj = battleObj;
        frontCharRendererAdjuster = battleObj.heroGo.AddMissingComponent<RendererAdjuster>();
        behindCharRendererAdjuster = battleObj.heroRectTrans.Find("Hero/Follower/BattleHeroInfoBar/BehindHero").gameObject.AddMissingComponent<RendererAdjuster>();
        frontCharRendererAdjuster = battleObj.GetGameObject()?.AddMissingComponent<RendererAdjuster>();
        behindCharRendererAdjuster = battleObj.GetRectTransform()?.Find("Hero/Follower/BattleHeroInfoBar/BehindHero")?.gameObject?.AddMissingComponent<RendererAdjuster>();
        frontCharRendererAdjuster.canvasOffset = BattleConst.BattleFrontCharUIOffset;