Example #1
0
 public void SelectButton(ShopButton button)
 {
     if (selectedButton != null)
     {
         selectedButton.Unselect();
     }
     if (button != null)
     {
         button.Select();
     }
     selectedButton = button;
 }