how to detect any key press in unity code example Example: unity detect any key if (Input.anyKey) { // Code here }