文献

UnityEngine.UIElements.Expansions.Accordion

Summary

Class Accordion. Implements the

Relation

UnityEngine.UIElements.VisualElement

Constructor

UxmlTraits.#ctor( ) Initializes a new instance of the class.
#ctor( ) Initializes a new instance of the class.

Variable

ussClassName The uss class name
containerUssClassName The container uss class name

Property

UxmlFactory.uxmlName Gets the name of the uxml.
UxmlFactory.uxmlQualifiedName Gets the name of the uxml qualified.
IsShow Gets a value indicating whether this instance is show.
contentContainer child elements are added to this element, usually this

Method

UxmlTraits.Init(UnityEngine.UIElements.VisualElement,UnityEngine.UIElements.IUxmlAttributes,UnityEngine.UIElements.CreationContext) Initialize VisualElement properties using values from the attribute bag.
Show(System.Int32) Shows the specified duration.
Hide(System.Int32) Hides the specified duration.
Toggle(System.Int32) Converts to ggle.
ExecuteDefaultActionAtTarget(UnityEngine.UIElements.EventBase) Executes the default action at target.