unity up arrow input

C#
Input.GetKeyDown("up")
Source

Also in C#: