class in UnityEngine.Experimental.UIElements
인터페이스 구현:IUxmlFactory
매뉴얼로 전환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.
canHaveAnyAttribute | Returns UxmlTraits.canHaveAnyAttribute (where UxmlTraits is the argument for T1). |
CreatesType | Returns the Type of the objects created by this factory. |
substituteForTypeName | Returns an empty string if T0 is not VisualElement; otherwise, returns "VisualElement". |
substituteForTypeNamespace | Returns the namespace for substituteForTypeName. |
substituteForTypeQualifiedName | Returns the fully qualified name for substituteForTypeName. |
uxmlAttributesDescription | Returns an empty enumerable. |
uxmlChildElementsDescription | Returns an empty enumerable. |
uxmlName | Returns the type name of T0. |
uxmlNamespace | Returns the namespace name of T0. |
uxmlQualifiedName | Returns the typefully qualified name of T0. |
AcceptsAttributeBag | Returns true. |
Create | Instantiate an object of type T0 and initialize it by calling T1 UxmlTraits.Init method. |
DoCreate | If implemented by your factory, this function will be called to instantiate an object of type T0. Otherwise, the default constructor of T0 will be used. |