Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public static bool
TryConvertToDouble(
SearchItem item,
out double
value,
string
selector);
Parameters
| Parameter |
Description |
| item |
SearchItem to extract the value from. |
| value |
Resulting value. |
| selector |
Selector use to access an item value. If null, we will use the internal item value. |
Returns
bool
Returns true if we were able to select the value and convert it to a double.
Description
Resolve a selector on an item and try to convert the selected value to a double.