Animator.GetFloat

Switch to Manual

Declaration

public float GetFloat(string name);

Declaration

public float GetFloat(int id);

Parameters

name The parameter name.
id The 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: