Version: 2020.1
言語: 日本語
public Type GetValueFromBag (UIElements.IUxmlAttributes bag, UIElements.CreationContext cc);

パラメーター

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

戻り値

Type The attribute's value. If the method cannot find the value, returns defaultValue.

説明

Method that retrieves an attribute's value from an attribute bag. Returns it if it is found, otherwise return defaultValue.