This version of Unity is unsupported.

TypedUxmlAttributeDescription<T0>.GetValueFromBag

public T GetValueFromBag(UIElements.IUxmlAttributes bag, UIElements.CreationContext cc);

Parameters

bagThe bag of attributes where to get the actual value.
ccThe creation context.

Returns

T The value of type T.

Description

Use this method to obtain the actual value of the attribute.