UxmlAssetAttributeDescription<T0>.GetValueFromBag

Declaration

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

Parameters

bag The bag of attributes.
cc The context in which the values are retrieved.

Returns

T The value of the attribute.

Description

Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return null.


Did you find this page useful? Please give it a rating: