Version: 2019.4
public bool TryGetValueFromBag (UIElements.IUxmlAttributes bag, UIElements.CreationContext cc, ref T value);

パラメーター

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

戻り値

bool True if the value could be retrieved, false otherwise.

説明

Tries to retrieve the value of this attribute from the attribute bag. Returns true if it is found, otherwise returns false.