unity detect any key
Code Example - unity detect any key
if (Input.anyKey) {
// Code here
}
if (Input.anyKey) {
// Code here
}