I have a code here and it says that its expected EOF, but found “Animation Anim” On line 3,1.
I get what EOF
#pragma strict
Animator : anim
function Start ()
{
anim = GetComponent("Animator");
}
function Update ()
{
float = Input.GetAxis ("Vertical");
anim.SetFloat("Speed", move);
}
means, i just don’t see anything wrong with my script. Plz Help cause i cri evy tim