Animator.SetInteger
SetInteger(name: string, value: int): void;
Parameters

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

Sets the value of an integer parameter.

SetInteger(id: int, value: int): 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 an integer parameter.