Esempio n. 1
0
 protected void Select_Event(object sender, DirectEventArgs e)
 {
     if (TagSelect != null)
     {
         TagSelect.Invoke(sender, new TagSelect_EventArgs(e.ExtraParams));
     }
 }
Esempio 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);
    }
Esempio n. 3
0
 public static TagSelect onchange(this TagSelect tag, string value)
 {
     tag.OnChange = value; return(tag);
 }
Esempio n. 4
0
 public static TagSelect onfocus(this TagSelect tag, string value)
 {
     tag.OnFocus = value; return(tag);
 }
Esempio n. 5
0
 public static TagSelect onblur(this TagSelect tag, string value)
 {
     tag.OnBlur = value; return(tag);
 }
Esempio n. 6
0
 public static TagSelect onmousedown(this TagSelect tag, string value)
 {
     tag.OnMouseDown = value; return(tag);
 }
Esempio n. 7
0
 public static TagSelect tabindex(this TagSelect tag, int value)
 {
     tag.TabIndex = value; return(tag);
 }
Esempio n. 8
0
 public static TagSelect title(this TagSelect tag, string value)
 {
     tag.Title = value; return(tag);
 }
Esempio n. 9
0
 public static TagSelect xmllang(this TagSelect tag, string value)
 {
     tag.XmlLang = value; return(tag);
 }
Esempio n. 10
0
 public static TagSelect onkeyup(this TagSelect tag, string value)
 {
     tag.OnKeyUp = value; return(tag);
 }
Esempio n. 11
0
 public static TagSelect name(this TagSelect tag, string value)
 {
     tag.Name = value; return(tag);
 }
Esempio n. 12
0
 public static TagSelect onkeypress(this TagSelect tag, string value)
 {
     tag.OnKeyPress = value; return(tag);
 }
Esempio n. 13
0
 public static TagSelect onkeydown(this TagSelect tag, string value)
 {
     tag.OnKeyDown = value; return(tag);
 }
Esempio n. 14
0
 public static TagSelect onmouseout(this TagSelect tag, string value)
 {
     tag.OnMouseOut = value; return(tag);
 }
Esempio n. 15
0
 public static TagSelect onmousemove(this TagSelect tag, string value)
 {
     tag.OnMouseMove = value; return(tag);
 }
Esempio n. 16
0
 public static TagSelect onmouseup(this TagSelect tag, string value)
 {
     tag.OnMouseUp = value; return(tag);
 }
Esempio n. 17
0
 public static TagSelect id(this TagSelect tag, string value)
 {
     tag.Id = value; return(tag);
 }
Esempio n. 18
0
 public static TagSelect size(this TagSelect tag, int value)
 {
     tag.Size = value; return(tag);
 }
Esempio n. 19
0
 public static TagSelect @class(this TagSelect tag, string value)
 {
     tag.Class = value; return(tag);
 }
Esempio n. 20
0
 public static TagSelect dir(this TagSelect tag, Dir value)
 {
     tag.Dir = value; return(tag);
 }
Esempio n. 21
0
 public static TagSelect lang(this TagSelect tag, LangCode value)
 {
     tag.Lang = value; return(tag);
 }
Esempio n. 22
0
 public static TagSelect disabled(this TagSelect tag, Disabled value)
 {
     tag.Disabled = value; return(tag);
 }
Esempio n. 23
0
 public static TagSelect multiple(this TagSelect tag, Multiple value)
 {
     tag.Multiple = value; return(tag);
 }
Esempio n. 24
0
 public static TagSelect ondblclick(this TagSelect tag, string value)
 {
     tag.OnDblClick = value; return(tag);
 }