Buuhhh…I’m stumped with this one. I have the most barebones project possible. I have an empty GameObject with a script that just has this:
function Update()
{
if(Input.GetKeyDown(KeyCode.P))
{
print("ehh.");
}
if(Input.GetKeyDown(KeyCode.O))
{
print("MEH.");
}
}
When I press “P” or “O” it prints my message, but when I press “P” or “O” a second time, my message does not get printed to the console. Any idea why? It’s like Unity only wants to accept my commands the first time, and that’s it ![]()