Make a class called Blend:MonoBehaviour
It doesn't inherit from anything.
It has a public function called BlendFloat with the following declaration:
public void BlendFloat(float start, float end, float time, string animationFloat, Animator anim);
The function has to set on each frame the float animationFloat from the anim Animator so that it starts with the value in the parameter start and it ends with the float in the parameter end. The transition should be finished in the time set in the third parameter.
There should also be a public function called StopBlend() which will stop the blending started in BlendFloat.
Make a class called Blend:MonoBehaviour It doesn't inherit from anything. It has a public function called BlendFloat with the following declaration: public void BlendFloat(float start, float end, float time, string animationFloat, Animator anim);
The function has to set on each frame the float animationFloat from the anim Animator so that it starts with the value in the parameter start and it ends with the float in the parameter end. The transition should be finished in the time set in the third parameter.
There should also be a public function called StopBlend() which will stop the blending started in BlendFloat.
You can also use other functions if you see fit.