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

UxmlEnumAttributeDescription<T0>.GetValueFromBag

マニュアルに切り替える
public T GetValueFromBag (Experimental.UIElements.IUxmlAttributes bag);

パラメーター

bagThe bag of attributes.

戻り値

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.