unity keycode inspector code example
Example: unity keycode
if (Input.GetKeyDown(KeyCode.A))
{
Debug.Log("The A key was pressed.");
}
if (Input.GetKeyDown(KeyCode.A))
{
Debug.Log("The A key was pressed.");
}