I've started unity dev with Ben's udemy course and while working on ‘Respond to Player Input’ in the Number wizard module, I ran with an issue where a single keystroke often types out 30+ lines of console output.
if (Input.GetKey(KeyCode.UpArrow))
{
print("up arrow key is held down");
}
Please guide me.