Einheitschlüsselerkennung
if (Input.GetKeyDown(KeyCode.Space))
{
print("space key was pressed");
}
RyanGar46
if (Input.GetKeyDown(KeyCode.Space))
{
print("space key was pressed");
}
if(Input.GetKey(KeyCode.Space))
{
//do somthing
}
if (Input.GetKey("//yourkey"))