GetBooleanValue(bool)
Try to parse the innerText and convert it to a boolean value.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public bool GetBooleanValue(bool defaultValue = false)
Parameters
Initial value if we cannot convert the innerText.
Returns
Type | Description |
|---|---|
| bool | Returns the boolean representation of the expression. |