Greetings and salutations, but a issue

Hello there, I’m back at Unity. No, I’m not trying to do an MMO this time, now I’m aiming lower, but I’m trying to do something simple in Unity, but I fail to see why it isn’t working? Could someone please point out the error to me?

function Update ()
{
if(anyKeyDown)
{
print(“…”)
}
}

Are you looking for ‘Input.anyKeyDown’?

Sorry, even with that it still doesn’t work. I even added a semicolon.

There is no magic, Jesse Anders was right ¬_¬!
Why don’t you try this, to see what happens…

if (Input.GetKeyDown("1")) 
{
   Debug.Log("Message :smile:!");
}

Where is the debug log posted?

When you make a change that’s been suggested and find it doesn’t work, be sure to post your new, revised code so that we can see what it is that’s not working. Also, be sure to specify what’s going wrong (that is, tell us how it’s not working, and post any error messages that you receive).

To the console, typically. The last entry in the console is usually displayed at the bottom of the editor window, and if you want to see everything that’s been logged, you can open the console window itself using the corresponding keyboard shortcut (ctrl-shift-c on Windows, I think - not sure about Mac).