Class ObjectField.UxmlTraits
Defines ObjectField.UxmlTraits for the ObjectField.
Inheritance
ObjectField.UxmlTraits
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class UxmlTraits : BaseField<Object>.UxmlTraits
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize ObjectField properties using values from the attribute bag.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | The object to initialize. |
IUxmlAttributes | bag | The attribute bag. |
CreationContext | cc | The creation context; unused. |
Overrides
UnityEngine.UIElements.BaseField<UnityEngine.Object>.UxmlTraits.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)