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

パラメーター

bagThe bag of attributes.
ccThe context in which the values are retrieved.

戻り値

T The value of the attribute.

説明

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