IsKeyword(SearchExpressionKeyword)
Check if the SearchExpression.innerText of an expression is a builtin SearchExpressionKeyword.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public bool IsKeyword(SearchExpressionKeyword keyword)
Parameters
Builtin keyword to check the expression against.
Returns
Type | Description |
|---|---|
| bool | Returns if the expression is a builtin Search Expression keyword. |