Get values from animator curves

Hi,

How can I get the curve’s value of the animation?

I’m using the fowling:

animator.GetFloat (“ColiderHeight”);
animator.GetFloat (“ColliderY”);

But always return 0.

Any tip?

I had forgotten to add the variables as parameters of the animator 71238-captura-de-ecra-2016-06-01-as-170413.png