Here are the examples of the csharp api SongRequestManager.UI.UIHelper.CreateUIButton(string, UnityEngine.RectTransform, string, UnityEngine.Vector2, UnityEngine.Vector2, UnityEngine.Events.UnityAction, string, UnityEngine.Sprite) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
View Source File : UIHelper.cs
License : GNU Lesser General Public License v3.0
Project Creator : angturil
License : GNU Lesser General Public License v3.0
Project Creator : angturil
public static Button CreateUIButton(this HMUI.ViewController parent, string name, string buttonTemplate, Vector2 ancreplaceddPosition, Vector2 sizeDelta, UnityAction onClick = null, string buttonText = "BUTTON")
{
var btn = UIHelper.CreateUIButton(name, parent.rectTransform, buttonTemplate, ancreplaceddPosition, sizeDelta, onClick, buttonText);
return btn;
}