UCE0001: ';' expected. Insert a semicolon at the end

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);
}

Please use the code tag “101 010” when posting your code.

Your issue is that you forgot the colon between your variable name and its type.

Change

var v float = Input.GetAxis("Vertical");

to

var v : float = Input.GetAxis("Vertical");