This version of Unity is unsupported.

UxmlHash128AttributeDescription.TryGetValueFromBag

Declaration

public bool TryGetValueFromBag(UIElements.IUxmlAttributes bag, UIElements.CreationContext cc, ref Hash128 value);

Parameters

bag The bag of attributes.
cc The context in which the method retrieves values.
value The value of the attribute.

Returns

bool True if the method retrieves the value, false otherwise.

Description

This method tries to retrieve the value of the attribute from the attribute bag. If it finds the attribute, it returns true. Otherwise, it returns false.