기술 자료

Unity Engine

Unity Engine

TryGetValueFromBag(IUxmlAttributes, CreationContext, ref Type)

Method that tries to retrieve an attribute's value from an attribute bag.. Returns true if it is found, otherwise returns false.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

TryGetValueFromBag(IUxmlAttributes, CreationContext, Type)

public bool TryGetValueFromBag(IUxmlAttributes bag, CreationContext cc, ref Type value)

Parameters

The attribute bag.

The context in which the method retrieves attribute values.

value

The attribute's value.

Returns

Type

Description

boolTrue if the method can retrieve the attribute's value. False otherwise.