기술 자료

Unity Engine

Unity Engine

TryGetValueFromBag(IUxmlAttributes, CreationContext, ref string)

Attempts to retrieve the value of this attribute from the attribute bag and returns true if found, otherwise false.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

TryGetValueFromBag(IUxmlAttributes, CreationContext, string)

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

Parameters

The bag of attributes.

The context in which the values are retrieved.

value

The value of the attribute.

Returns

Type

Description

boolTrue if the value is found, false otherwise.