Animator.GetFloat

Switch to Manual
public float GetFloat(string name);
public float GetFloat(int id);

Parameters

nameThe parameter name.
idThe parameter ID.

Returns

float The value of the parameter.

Description

Returns the value of the given float parameter.

If the float parameter you specify doesn't exist, the float returns as 0.

Did you find this page useful? Please give it a rating: