unity if any key is pressed code example Example: unity detect any key if (Input.anyKey) { // Code here }