Class LayerBarButton.UxmlTraits
Inheritance
BaseUxmlTraits
VisualElement.UxmlTraits
BindableElement.UxmlTraits
Toggle.UxmlTraits
LayerBarButton.UxmlTraits
Namespace: Xareus.Scenarios.Unity.Edition
Assembly: Xareus.Scenarios.Unity.Edition.dll
Syntax
public class LayerBarButton.UxmlTraits : Toggle.UxmlTraits
Fields
m_Name
Declaration
protected UxmlStringAttributeDescription m_Name
Field Value
| Type | Description |
|---|---|
| UxmlStringAttributeDescription |
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
<p>
Initializes Toggle 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.Toggle.UxmlTraits.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)