Ejemplo n.º 1
0
 // Generic button
 void SetButton(ButtonHelper button, UIHelper.BaseAction callback, string buttonText = "", Nullable <ButtonHelper.ButtonType> buttonType = null)
 {
     button.InsertCallback(callback);
     button.Text = buttonText;
     if (buttonType.HasValue)
     {
         button.SetButtonToPreMade(buttonType.Value);
     }
 }