Exemplo n.º 1
0
 protected void Select_Event(object sender, DirectEventArgs e)
 {
     if (TagSelect != null)
     {
         TagSelect.Invoke(sender, new TagSelect_EventArgs(e.ExtraParams));
     }
 }
Exemplo n.º 2
0
    private void Awake()
    {
        if (tagSelect == null)
        {
            tagSelect = FindObjectOfType <TagSelect>();
        }

        toggle   = GetComponent <Toggle>();
        nameText = GetComponentInChildren <Text>();

        toggle.onValueChanged.RemoveAllListeners();
        toggle.onValueChanged.AddListener(SelectTag);
    }
Exemplo n.º 3
0
 public static TagSelect onchange(this TagSelect tag, string value)
 {
     tag.OnChange = value; return(tag);
 }
Exemplo n.º 4
0
 public static TagSelect onfocus(this TagSelect tag, string value)
 {
     tag.OnFocus = value; return(tag);
 }
Exemplo n.º 5
0
 public static TagSelect onblur(this TagSelect tag, string value)
 {
     tag.OnBlur = value; return(tag);
 }
Exemplo n.º 6
0
 public static TagSelect onmousedown(this TagSelect tag, string value)
 {
     tag.OnMouseDown = value; return(tag);
 }
Exemplo n.º 7
0
 public static TagSelect tabindex(this TagSelect tag, int value)
 {
     tag.TabIndex = value; return(tag);
 }
Exemplo n.º 8
0
 public static TagSelect title(this TagSelect tag, string value)
 {
     tag.Title = value; return(tag);
 }
Exemplo n.º 9
0
 public static TagSelect xmllang(this TagSelect tag, string value)
 {
     tag.XmlLang = value; return(tag);
 }
Exemplo n.º 10
0
 public static TagSelect onkeyup(this TagSelect tag, string value)
 {
     tag.OnKeyUp = value; return(tag);
 }
Exemplo n.º 11
0
 public static TagSelect name(this TagSelect tag, string value)
 {
     tag.Name = value; return(tag);
 }
Exemplo n.º 12
0
 public static TagSelect onkeypress(this TagSelect tag, string value)
 {
     tag.OnKeyPress = value; return(tag);
 }
Exemplo n.º 13
0
 public static TagSelect onkeydown(this TagSelect tag, string value)
 {
     tag.OnKeyDown = value; return(tag);
 }
Exemplo n.º 14
0
 public static TagSelect onmouseout(this TagSelect tag, string value)
 {
     tag.OnMouseOut = value; return(tag);
 }
Exemplo n.º 15
0
 public static TagSelect onmousemove(this TagSelect tag, string value)
 {
     tag.OnMouseMove = value; return(tag);
 }
Exemplo n.º 16
0
 public static TagSelect onmouseup(this TagSelect tag, string value)
 {
     tag.OnMouseUp = value; return(tag);
 }
Exemplo n.º 17
0
 public static TagSelect id(this TagSelect tag, string value)
 {
     tag.Id = value; return(tag);
 }
Exemplo n.º 18
0
 public static TagSelect size(this TagSelect tag, int value)
 {
     tag.Size = value; return(tag);
 }
Exemplo n.º 19
0
 public static TagSelect @class(this TagSelect tag, string value)
 {
     tag.Class = value; return(tag);
 }
Exemplo n.º 20
0
 public static TagSelect dir(this TagSelect tag, Dir value)
 {
     tag.Dir = value; return(tag);
 }
Exemplo n.º 21
0
 public static TagSelect lang(this TagSelect tag, LangCode value)
 {
     tag.Lang = value; return(tag);
 }
Exemplo n.º 22
0
 public static TagSelect disabled(this TagSelect tag, Disabled value)
 {
     tag.Disabled = value; return(tag);
 }
Exemplo n.º 23
0
 public static TagSelect multiple(this TagSelect tag, Multiple value)
 {
     tag.Multiple = value; return(tag);
 }
Exemplo n.º 24
0
 public static TagSelect ondblclick(this TagSelect tag, string value)
 {
     tag.OnDblClick = value; return(tag);
 }