What’s the actual difference between:
if (Input.GetKeyDown(“up”))
{
print(“Up arrow pressed”);
}
and
if (Input.GetKeyDown(KeyCode.UpArrow))
{
print(“Up arrow pressed”);
}
because when I tried both, they both worked the same from what I tested (pressing the up arrow with both codes made the text print).