- Home /
Question by
$$anonymous$$ · Jun 17, 2015 at 02:03 AM ·
javascripterrormovement
It Keeps Saying "Assets/Basic Moveing.js(5,1): BCE0044: expecting EOF, found '}'"
I Don't Know How To Fix It! Can Somebody Help?
Code:
if (Input.GetKey(W));
{
rigidbody2D.velocity = new Vector2(0,speed);
}
}
else if (Input.GetKey(S));
{
rigidbody2D.velocity = new Vector2(0,speed *-1);
}
Comment
Your answer