UCE0001: ‘;’ expected. Insert a semicolon at the end
i got that error messsage after i put a script to my model
actually im trying to follow this tutorial : - YouTube
with different model and animation files…
here is my script
#pragma strict
var ani : Animator;
function Start ()
{
ani = GetComponent(Animator);
}
function Update ()
{
var v float = Input.GetAxis(“Vertical”);
ani.SetFloat(“Speed”,v);
}