Пример #1
0
 public void InitializeSelectingUnit(UnitInfoPanel unitInfoPanel)
 {
     unitInfoPanel.UnselectAllUnits();
     DisplayAttackerInfoOntoPanel(unitInfoPanel);
     ApplyIndicator();
     SetSelected(true);
 }
 private void SetSelectedUnitAttributesToPanel()
 {
     unitInfoPanel.UnselectAllUnits();
     defenderPrefab.DisplayDefenderInfoOntoPanel(unitInfoPanel);
     unitInfoPanel.UpdateInfoPanelHealth(defenderPrefab.GetUnitHealth().ToString());
 }