Main/System/Battle/BattleObject/BattleObject.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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; }