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