Example #1
0
 private void CheckIfSelected(SOTower selectedTower)
 {
     if (selectedTower == tower)
     {
         UIColors.Highlight(towerButton);
     }
     else
     {
         UIColors.UnHighlight(towerButton);
     }
 }
    private void Select(Button select)
    {
        var previous = selected;

        this.selected = select;
        if (previous != null)
        {
            UIColors.UnHighlight(previous);
        }
        UIColors.Highlight(selected);
    }