TryGetValueFromBag(IUxmlAttributes, CreationContext, ref double)
Attempts to retrieve the value of this attribute from the attribute bag and returns true if found, otherwise false.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
TryGetValueFromBag(IUxmlAttributes, CreationContext, double)
public bool TryGetValueFromBag(IUxmlAttributes bag, CreationContext cc, ref double value)
Parameters
The bag of attributes.
The context in which the values are retrieved.
The value of the attribute.
Returns
Type | Description |
|---|---|
| bool | True if the value is found, false otherwise. |