Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

UxmlBoolAttributeDescription.GetValueFromBag

Switch to Manual
Obsolete public bool GetValueFromBag (Experimental.UIElements.IUxmlAttributes bag);

Parameters

bagThe bag of attributes.

Returns

bool 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.