Experimental: this API is experimental and might be changed or removed in the future.

IUxmlFactory

interface in UnityEngine.Experimental.UIElements

매뉴얼로 전환

설명

Interface for UXML factories. While it is not strictly required, concrete factories should derive from the generic class UxmlFactory.

변수

canHaveAnyAttributeMust return true if the UXML element attributes are not restricted to the values enumerated by uxmlAttributesDescription.
substituteForTypeNameThe type of element for which this element type can substitute for.
substituteForTypeNamespaceThe UXML namespace for the type returned by substituteForTypeName.
substituteForTypeQualifiedNameThe fully qualified XML name for the type returned by substituteForTypeName.
uxmlAttributesDescriptionDescribes the UXML attributes expected by the element. The attributes enumerated here will appear in the UXML schema.
uxmlChildElementsDescriptionDescribes the types of element that can appear as children of this element in a UXML file.
uxmlNameThe name of the UXML element read by the factory.
uxmlNamespaceThe namespace of the UXML element read by the factory.
uxmlQualifiedNameThe fully qualified name of the UXML element read by the factory.

Public 함수

AcceptsAttributeBagReturns true if the factory accepts the content of the attribute bag.
CreateInstanciate and initialize an object of type T0.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961