기술 자료

Unity Engine

Download Unity

Unity Engine

GetValueFromBag(IUxmlAttributes, CreationContext)

Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return null.
읽는 시간 1분최근 업데이트: 2달 전

Definition

경고
Deprecated. UxmlTraits system is deprecated and will be removed. Use UxmlElementAttribute instead.
public override T GetValueFromBag(IUxmlAttributes bag, CreationContext cc)

Parameters

The bag of attributes.

The context in which the values are retrieved.

Returns

Type

Description

TThe value of the attribute.