Hello,
I want to specify a public key press variable to use within my script, something like:
var myKeyChar : char = 'v';
function Update () {
if(Input.GetKeyDown(myKeyChar)
{
...
}
}
But the public myKeyChar doesn't show up in the editor? I'm new to .js (coming from C++), so maybe I'm approaching this the wrong way.
Thanks
FourSheds