文档

Unity Engine

Unity Engine

IsTrue(SearchItem)

Check if the internal value of a SearchItem is truish. It means the value is not 0, not null, not "" and not false.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static bool IsTrue(SearchItem item)

Parameters

SearchItem to test.

Returns

Type

Description

boolReturns true if the value of the SearchItem is truish.