Question about Input.GetKey

If i use Input.GetKey() function, how does unity know the difference between using one of the number keys and using the number keypad? would it still work this way if the num lock is toggled?

Unity has a built-in class that handles key codes. And I think that it needs numlock to work, not sure. But it isn’t too hard to test it.