类在 UnityEngine.UIElements
/
继承自:UIElements.BaseUxmlFactory_2
/
实现于:UnityEngine.UIElementsModule
实现接口:IBaseUxmlFactory,IUxmlFactory
UXML工厂的通用基类,用于通过从UXML文件读取的数据实例化VisualElement。
T0
要实例化的元素的类型。它必须从 VisualElement 继承。
T1
要实例化的元素的属性。它必须从 UxmlTraits 继承。
Create | 实例化T0类型的对象,通过调用T1的UxmlTraitsInit方法对其进行初始化。 |
canHaveAnyAttribute | 返回 UxmlTraitscanHaveAnyAttribute(其中UxmlTraits是T1的参数)。 |
substituteForTypeName | 如果T0不是VisualElement,返回空字符串;否则返回 "VisualElement"。 |
substituteForTypeNamespace | 返回 substituteForTypeName 的命名空间。 |
substituteForTypeQualifiedName | 返回 substituteForTypeName 的完全限定名。 |
uxmlAttributesDescription | 返回一个空的序列。 |
uxmlChildElementsDescription | 返回一个空的序列。 |
uxmlName | 返回T0的类型名称。 |
uxmlNamespace | 返回T0的命名空间名称。 |
uxmlQualifiedName | 返回T0的完全限定名。 |
uxmlType | 返回T0的类型。 |
AcceptsAttributeBag | 返回true。 |