Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RegisterType(Type, UxmlAttributeNames[])

Registers pre-processed UXML attribute descriptions.
Read time 1 minuteLast updated a month ago

Definition

public static void RegisterType(Type type, UxmlAttributeNames[] attributeNames)

Parameters

type

The type to register.

attributeNames

The pre-processed UXML attribute information.

Remarks

This is used by the code generator when a control is using UxmlElementAttribute and UxmlAttributeAttribute.