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

UxmlBoolAttributeDescription

class in UnityEngine.Experimental.UIElements

/

다음으로부터 상속:Experimental.UIElements.UxmlAttributeDescription

매뉴얼로 전환

설명

Describes a XML bool attribute.

변수

defaultValueThe default value for the attribute.
defaultValueAsStringThe default value for the attribute, as a string.

생성자

UxmlBoolAttributeDescriptionConstructor.

Public 함수

GetValueFromBagRetrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue.

상속된 멤버

변수

defaultValueAsStringThe default value for the attribute, as a string.
nameThe attribute name.
obsoleteNamesA list of obsolete names for this attribute.
restrictionRestrictions on the possible values of the attribute.
typeAttribute type.
typeNamespaceAttribute namespace.
useWhether the attribute is optional, required or prohibited.

보호되는 함수

GetValueFromBagGet the attribute value from the attribute bag.