Hello, i have managed to do what do you want with an one different thing, it is not an anykeydown, it is anykey. If i use anykey it works but if i use anykeydown it doesn't work, i have no idea about this, maybe you can figure it out. Here it is;
#pragma strict
function Update ()
{
if(Input.anyKey == true)
{
for(var i : char in Input.inputString)
{
print(i);
}
}
}
↧