| | |
| | | [SerializeField] Button btnPause; |
| | | [SerializeField] RendererAdjuster buttonsAdjuster; |
| | | private BattleRootNode battleRootNode = null; |
| | | private BattleField battleField; |
| | | public BattleField battleField; |
| | | |
| | | [SerializeField] HeroCountryComponent myCountry; |
| | | [SerializeField] TextEx txtMyLV; |
| | |
| | | textSpeed.text = (BattleManager.Instance.speedIndex + 1).ToString(); |
| | | DisplayHpInfo(); |
| | | DisplayPlayerInfo(); |
| | | UpdateRoundDisplay(); |
| | | } |
| | | private void DisplayHpInfo() |
| | | { |
| | |
| | | return teamHeroes; |
| | | |
| | | } |
| | | public void UpdateRoundDisplay() |
| | | { |
| | | if (battleField == null) |
| | | return; |
| | | txtWaveInfo.text = Language.Get("BoneField09", battleField.round, battleField.turnMax); |
| | | Debug.LogFormat("当前波数:{0} 最大轮数:{1}", battleField.round, battleField.turnMax); |
| | | } |
| | | } |