i have speed value at my character controller script, i added speed paramater at Animator for exp: if speed greater then 0 animation changes idle to walk but how can i equal this speed to my character controller scripts speed thank you
To do this you must access the Animator Component, I recommend taking these lessons:
https://unity3d.com/learn/tutorials/topics/animation
Here is the code to achieve it for you reference:
private Animator _animator;
public float Speed;
void Start ()
{
_animator = GetComponent<Animator>();
}
void Update ()
{
_animator.SetFloat("SpeedParam", Speed);
}