Documentation

Unity Engine


Unity Engine


TryGetValueFromBag(IUxmlAttributes, CreationContext, ref Hash128)

Attempts to retrieve the value of this attribute from the attribute bag and returns true if found, otherwise false.
Read time 1 minuteLast updated a month ago

Definition

TryGetValueFromBag(IUxmlAttributes, CreationContext, Hash128)

public bool TryGetValueFromBag(IUxmlAttributes bag, CreationContext cc, ref Hash128 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.