Class TextInputBaseField<TValueType>.UxmlTraits
Defines TextInputBaseField<TValueType>.UxmlTraits for
Inheritance
TextInputBaseField<TValueType>.UxmlTraits
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlTraits : BaseFieldTraits<string, UxmlStringAttributeDescription>
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize the traits for this field.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | VisualElement to which to apply the attributes. |
IUxmlAttributes | bag | Bag of attributes where to get the attributes. |
CreationContext | cc | Creation context. |
Overrides
UnityEngine.UIElements.BaseFieldTraits<System.String, UnityEngine.UIElements.UxmlStringAttributeDescription>.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)