Animator.SetBool
SetBool(name: string, value: bool): void;
void SetBool(string name, bool value);
def SetBool(name as string, value as bool) as void
Parameters

name The name of the parameter.
value The new value for the parameter.
Description

Sets the value of a bool parameter.

SetBool(id: int, value: bool): void;
void SetBool(int id, bool value);
def SetBool(id as int, value as bool) as void
Parameters

id The id of the parameter. The id is generated using Animator::StringToHash.
value The new value for the parameter.
Description

Sets the value of a bool parameter.