UxmlElementAttribute
Exposes a type of VisualElement to UXML and UI Builder
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
UxmlElementAttribute()
Exposes a type of VisualElement to UXML and UI Builder
public UxmlElementAttribute()
UxmlElementAttribute(string)
Declares a custom control with a custom element name.
public UxmlElementAttribute(string uxmlName)
Parameters
Provides a custom name for the element.
UxmlElementAttribute(string, Type[])
Declares a custom control with a custom element name and a list of supported child types.
public UxmlElementAttribute(string uxmlName, params Type[] supportedTypes)