Ejemplo n.º 1
0
 private void ActivateUnit()
 {
     _unitList.DeactivateAllPlayerUnits(GetStatistics().team);
     _unitListPanel.ActivateUnitPortrait(this);
     _activityType = RangeType.Movement;
     Turn.SetIsFirstUnitInTurnSelected(true);
     ReloadRanges();
     _unitRange.ShowUnitRange(true);
     _unitMovement.ShowMovementRange(false);
     _gridManager.ChangeColor(GetUnitXPosition(), GetUnitYPosition(), Color.yellow);
     _healtbar.SetSliderVisbility(true);
     SetUnitPhase(UnitPhase.Standby);
 }