yyl
2025-08-29 48f67bcd7025dd86525666ef99b8420f363b0901
Main/System/Battle/BattleObject/BattleObject.cs
@@ -92,6 +92,12 @@
        heroInfoBar = heroGo.GetComponentInChildren<BattleHeroInfoBar>(true);
        heroInfoBar.SetBattleObject(this);
        //  根据阵营翻转血条
        var heroInfoBarScale = heroInfoBar.transform.localScale;
        heroInfoBarScale.x *= Camp == BattleCamp.Red ? 1 : -1;
        heroInfoBar.transform.localScale = heroInfoBarScale;
    }