unity arrow names code example
Example 1: get key unity
if(Input.GetKey(KeyCode.Space))
{
//do somthing
}
Example 2: unity up arrow input
Input.GetKeyDown("up")
if(Input.GetKey(KeyCode.Space))
{
//do somthing
}
Input.GetKeyDown("up")