Method group is Obsolete

UxmlFactory<T0,T1>

class in UnityEngine.UIElements

/

Inherits from:UIElements.BaseUxmlFactory_2

/

Implemented in:UnityEngine.UIElementsModule


Implements interfaces:IBaseUxmlFactory, IUxmlFactory

Obsolete UxmlFactory<TCreatedType, TTraits> is deprecated and will be removed. Use UxmlElementAttribute instead.

Description

Generic base class for UXML factories, which instantiate a VisualElement using the data read from a UXML file.

T0 The type of the element that will be instantiated. It must derive from VisualElement.

T1 The traits of the element that will be instantiated. It must derive from UxmlTraits.

Inherited Members


Did you find this page useful? Please give it a rating: