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