Version: 2023.2
言語: 日本語
public bool GetBool (string name);
public bool GetBool (int id);

パラメーター

name The parameter name.
id The parameter ID.

戻り値

bool The value of the parameter.

説明

Returns the value of the given boolean parameter.

Return the current state of a bool parameter within the Animator Controller. Use the parameter’s name or ID to search for the appropriate one.