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

UxmlFloatAttributeDescription.GetValueFromBag

Cambiar al Manual
Obsolete public float GetValueFromBag (Experimental.UIElements.IUxmlAttributes bag);

Parámetros

bagThe bag of attributes.

Valor de retorno

float The value of the attribute.

Descripción

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