RegisterType(Type, UxmlAttributeNames[])
Registers pre-processed UXML attribute descriptions.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static void RegisterType(Type type, UxmlAttributeNames[] attributeNames)
Parameters
The type to register.
The pre-processed UXML attribute information.
Remarks
This is used by the code generator when a control is using UxmlElementAttribute and UxmlAttributeAttribute.