I just started learning Unity. I tried to make a simple box move by using this script. The premise is, whenever someone presses \'w\' the box moves forward.
"w" is not predefined unless you explicitly define it. Use KeyCode.W