Init(VisualElement, IUxmlAttributes, CreationContext)
Initializes the TextValueField<TValueType> 's UxmlTraits.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
The VisualElement to initialize.
A bag of UXML attribute name-value pairs used to initialize VisualElement members.
The creation context associated with these traits.