This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

UxmlStringAttributeDescription.GetValueFromBag

Obsolete Pass a creation context to the method.

Declaration

public string GetValueFromBag(Experimental.UIElements.IUxmlAttributes bag);

Parameters

bag The bag of attributes.

Returns

string The value of the attribute.

Description

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