ドキュメント

Unity Engine

Unity Engine

UxmlAssetAttributeDescription<T>

Describes a UXML Object attribute referencing an asset in the project. In UXML, this is referenced as a string URI.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

注意
Deprecated. UxmlTraits system is deprecated and will be removed. Use UxmlElementAttribute instead.
public class UxmlAssetAttributeDescription<T> : TypedUxmlAttributeDescription<T> where T : Object

Constructors

Constructor

Description

UxmlAssetAttributeDescription`1()Constructor.

Properties

Property

Description

defaultValueAsStringThe default value for the attribute, as a string.

Methods

Method

Description

GetValueFromBagRetrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return null.
TryGetValueFromBagAttempts to retrieve the value of this attribute from the attribute bag and returns true if found, otherwise false.

Inheritance