Class Foldout.UxmlTraits
Defines Foldout.UxmlTraits for the Foldout.
Inheritance
Foldout.UxmlTraits
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlTraits : BindableElement.UxmlTraits
Remarks
This class defines the Foldout element properties that you can use in a UXML asset.
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initializes Foldout 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. |