Hi guys,I need some help,I’m unable to set my animator controller parameter from script,I have the code below but the anienter code heremation parameter doesn’t change when I play the animation.
using UnityEngine;
using System.Collections;
public class move : MonoBehaviour {
Animator anim;
void Start ()
{
anim = GetComponent<Animator> ();
}
void update()
{
float move = Input.GetAxis ("Vertical");
anim.SetFloat ("Speed",move);
}
}