Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

UxmlDescriptionCache.RegisterType

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

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

Parameters

Description
type The type to register.
attributeNames The pre-processed UXML attribute information.

Description

Registers pre-processed UXML attribute descriptions.

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