ドキュメント

Unity Engine

Unity Engine

UxmlTypeAttributeDescription<TBase>

Describes an XML System.Type attribute.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

注意
Deprecated. UxmlTraits system is deprecated and will be removed. Use UxmlElementAttribute instead.
public class UxmlTypeAttributeDescription<TBase> : TypedUxmlAttributeDescription<Type>

Constructors

Constructor

Description

UxmlTypeAttributeDescription`1()Constructor.

Properties

Property

Description

defaultValueAsStringThe default value for the attribute, as a string.

Methods

Method

Description

GetValueFromBagMethod that retrieves an attribute's value from an attribute bag. Returns it if it is found, otherwise return defaultValue.
TryGetValueFromBagMethod that tries to retrieve an attribute's value from an attribute bag.. Returns true if it is found, otherwise returns false.

Inheritance