文档

Unity Engine

Unity Engine

Check(SearchExpression, SearchExpressionContext)

Execute a SearchExpression and checks if the internal value of the first yielded SearchItem is truish. Not 0, not null, not "" and not false.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static bool Check(SearchExpression e, SearchExpressionContext c)

Parameters

SearchExpression to test.

Execute context of the expression.

Returns

Type

Description

boolReturns true if the SearchExpression yields more than one item or if the sole item is true.