# Unity-Animation parameters are not being set

I have the following animation controller:

with two parameters of walkingSpeed and Jump. I have the following code which should change the values:

animator.SetFloat("walkingSpeed",0.9f);
animator.SetBool("Jump",true);


and animator is the correctly referenced animator object. However the values that the parameters are set to do not appear to change in the animator window, nor do they appear to impact what is happening on the screen. However they do seem to impact the values obtained when doing the following:

animator.GetFloat("walkingSpeed");

The animator consists of the shown blend tree, which works correctly and is always active, however due to the values not being changed it does not blends, and always acts as if the value with which it blends (walkingSpeed is 0).

What is going on?

• I removed your 2nd question, because the general rule (see the help center) is one question per post. That second question might make a reasonable post of its own though, so feel free to make it is own question. – Seth Battin May 21 '14 at 14:02
• Have a look at this tutorial on youtube youtube.com/watch?v=DJQn_EMEphE and then this one youtube.com/watch?v=e-D1sz39J9Y ... – Savlon Feb 20 '15 at 9:11