文档

Unity Engine

Unity Engine

GetBooleanValue(bool)

Try to parse the innerText and convert it to a boolean value.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool GetBooleanValue(bool defaultValue = false)

Parameters

defaultValue

Initial value if we cannot convert the innerText.

Returns

Type

Description

boolReturns the boolean representation of the expression.