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