Esempio n. 1
0
 public void HideBuildButtons()
 {
     foreach (ActionButtonType buttonType in buttonTypes)
     {
         ActionButton foundButton = ActionButtons.Instance.buttons.Find(item => item.ButtonType == buttonType);
         if (foundButton.GetType() == typeof(BuildButton))
         {
             foundButton.Hide();
         }
     }
 }