文献

UxmlTraits.Init(UnityEngine.UIElements.VisualElement,UnityEngine.UIElements.IUxmlAttributes,UnityEngine.UIElements.CreationContext)

UxmlTraits.Init(UnityEngine.UIElements.VisualElement,UnityEngine.UIElements.IUxmlAttributes,UnityEngine.UIElements.CreationContext)

Type
Method
Initialize VisualElement properties using values from the attribute bag.

Parameters

ve
The object to initialize.
bag
The attribute bag.
cc
The creation context; unused.