[Im New] I Cant Make MOVEMENT!! Please Help!

I cant do it. Whats wrong ?

Try setting moveSpeed to a number. Dont capitalize the “t” in transform. Also use Vector3.forward instead of transform.forward. On top of that, change the if statement to: if(Input.GetKey(KeyCode.W))

That should do it

I did it! So so so thanks. I was watching tutorial then I write codes in tutorial. (which I shared pic) Tutorial’s man was do it. Whats different things to my unity (4.1.2) ? Just I want know.
Tutorial man’s video.

And Im getting error as this:
1237088--52554--$mrz9y.jpg
What does it mean ?

So thanks for everything.

What language are you using? It looks like you are using C#, not javascript but your variable are declared like in javascript. What language is that??

Javascript. Why you say c# ? Whats my problem ?

put on top,

import UnityEditor;
import System.Collections.Generic;

im not very sure of that because i use C#, but give it a try.

OR

this on top.

#pragma strict

i guess it could be done for js.
my bad if it’s not

Sorry, didn’t notice you wrote ‘import’ not ‘using’… :wink:
But still that ‘import UnityEditor’ will cause a duplicate namespace warning.

Thanks to everybody. Anymore i have more experience so i understand somethings about unity. Im using Notepad++ for code editor. I would recommend. Thanks againnnn and good codings… :slight_smile:

i don’t really recommend it, unless you’re a pro programmer.