Documentation

Unity Engine

Unity Engine

RegisterType(Type, UxmlAttributeNames[])

Registers pre-processed UXML attribute descriptions.
Read time 1 minuteLast updated 2 months 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.