public PillUxmTraits() { m_Highlighted = new UxmlBoolAttributeDescription { name = "highlighted" }; m_Text = new UxmlStringAttributeDescription { name = "text" }; }
public UxmlTraits() { UxmlStringAttributeDescription attributeDescription1 = new UxmlStringAttributeDescription(); attributeDescription1.name = "text"; m_Text = attributeDescription1; UxmlBoolAttributeDescription attributeDescription2 = new UxmlBoolAttributeDescription(); attributeDescription2.name = "value"; attributeDescription2.defaultValue = true; m_Value = attributeDescription2; }
public UxmlTraits() { m_Title = new UxmlStringAttributeDescription { name = "title" }; m_EnableLegend = new UxmlBoolAttributeDescription { name = "enableLegend" }; m_EnableLabels = new UxmlBoolAttributeDescription { name = "enableLabels" }; m_AllowLabelsOverflow = new UxmlBoolAttributeDescription { name = "allowLabelsOverflow" }; }
public ColorFieldUxmlTraits() { m_Value = new UxmlColorAttributeDescription { name = "value" }; m_ShowEyeDropper = new UxmlBoolAttributeDescription { name = "showEyeDropper", defaultValue = true }; m_ShowAlpha = new UxmlBoolAttributeDescription { name = "showAlpha", defaultValue = true }; m_Hdr = new UxmlBoolAttributeDescription { name = "hdr" }; }
public ScrollableToolbarUxmlTraits() { m_IsHorizontal = new UxmlBoolAttributeDescription { name = "isHorizontal" }; }
public ObjectFieldUxmlTraits() { m_AllowSceneObjects = new UxmlBoolAttributeDescription { name = "allowSceneObjects", defaultValue = true }; }
public UxmlTraits() { m_PropertyPath = new UxmlStringAttributeDescription { name = "binding-path" }; m_Label = new UxmlStringAttributeDescription { name = "label" }; //m_ShowSize = new UxmlBoolAttributeDescription { name = "show-size" }; m_DisableLabelContextMenu = new UxmlBoolAttributeDescription { name = "disable-label-context-menu" }; m_DisablePropertyLabel = new UxmlBoolAttributeDescription { name = "disable-property-label" }; m_HideAddButton = new UxmlBoolAttributeDescription { name = "hide-add-button" }; m_UseObjectField = new UxmlBoolAttributeDescription { name = "use-object-field", defaultValue = true }; m_HideDeleteAllButton = new UxmlBoolAttributeDescription { name = "hide-delete-all-button" }; m_HideDeleteItemButton = new UxmlBoolAttributeDescription { name = "hide-delete-item-button" }; m_HideReorderItemButtons = new UxmlBoolAttributeDescription { name = "hide-reorder-item-buttons" }; m_AddButtonText = new UxmlStringAttributeDescription { name = "add-button-text", defaultValue = ADD_BUTTON_TEXT }; m_DeleteAllButtonText = new UxmlStringAttributeDescription { name = "delete-all-button-text", defaultValue = DELETE_ALL_BUTTON_TEXT }; m_DeleteAllConfirmLabelText = new UxmlStringAttributeDescription { name = "delete-all-confirm-label-text", defaultValue = DELETE_ALL_CONFIRM_LABEL_TEXT }; m_DeleteAllYesButtonText = new UxmlStringAttributeDescription { name = "delete-all-yes-button-text", defaultValue = DELETE_ALL_YES_BUTTON_TEXT }; m_DeleteAllNoButtonText = new UxmlStringAttributeDescription { name = "delete-all-no-button-text", defaultValue = DELETE_ALL_NO_BUTTON_TEXT }; m_AddObjectFieldText = new UxmlStringAttributeDescription { name = "add-object-field-text", defaultValue = ADD_OBJECT_FIELD_TEXT }; m_DeleteItemButtonText = new UxmlStringAttributeDescription { name = "delete-item-button-text", defaultValue = DELETE_ITEM_BUTTON_TEXT }; m_ReorderItemUpButtonText = new UxmlStringAttributeDescription { name = "reorder-item-up-button-text", defaultValue = MOVE_UP_BUTTON_TEXT }; m_ReorderItemDownButtonText = new UxmlStringAttributeDescription { name = "reorder-item-down-button-text", defaultValue = MOVE_DOWN_BUTTON_TEXT }; }