Esempio n. 1
0
 public ToggleUxmlTraits()
 {
     m_Value = new UxmlBoolAttributeDescription {
         name = "value"
     };
     m_Label = new UxmlStringAttributeDescription {
         name = "label"
     };
 }
Esempio n. 2
0
 protected TextInputFieldBaseUxmlTraits()
 {
     m_MaxLength = new UxmlIntAttributeDescription {
         name = "maxLength", defaultValue = kMaxLengthNone
     };
     m_Password = new UxmlBoolAttributeDescription {
         name = "password"
     };
     m_MaskCharacter = new UxmlStringAttributeDescription {
         name = "maskCharacter", defaultValue = "*"
     };
 }
Esempio n. 3
0
 public BaseTextElementUxmlTraits()
 {
     m_Text = new UxmlStringAttributeDescription {
         name = "text"
     };
 }
 public TemplateContainerUxmlTraits()
 {
     m_Template = new UxmlStringAttributeDescription {
         name = "template", use = UxmlAttributeDescription.Use.Required
     };
 }
Esempio n. 5
0
 public UxmlTraits()
 {
     m_PropertyPath = new UxmlStringAttributeDescription {
         name = "binding-path"
     };
 }