ドキュメント

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.