ドキュメント

Unity Engine

Unity Engine

GetValueFromBag(IUxmlAttributes, CreationContext)

Retrieves the value of this attribute from the attribute bag. Returns the value if found; otherwise, it returns defaultValue.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

注意
Deprecated. UxmlTraits system is deprecated and will be removed. Use UxmlElementAttribute instead.
public override bool GetValueFromBag(IUxmlAttributes bag, CreationContext cc)

Parameters

The bag of attributes.

The context in which the values are retrieved.

Returns

Type

Description

boolThe value of the attribute.