unity press anyt key to start code example Example: press key run code unity c# if(Input.GetKey(KeyCode.space)) { print("Space key was pressed") }