文档

Unity Engine

Download Unity

Unity Engine

GetValueFromBag(IUxmlAttributes, CreationContext)

Use this method to obtain the actual value of the attribute.
阅读时间1 分钟最后更新于 2 个月前

Definition

警告
Deprecated. UxmlTraits system is deprecated and will be removed. Use UxmlElementAttribute instead.
public abstract T GetValueFromBag(IUxmlAttributes bag, CreationContext cc)

Parameters

The bag of attributes where to get the actual value.

The creation context.

Returns

Type

Description

TThe value of type T.