Using Unity 2020.3.18f1, I am trying to build an application that uses 2 cameras, both set to display to different touch screens. The cameras are orthographic and set up to point at 2 different locations containing buttons for various parts of a helicopter (these buttons are physical game objects, not UI buttons on a canvas). When the user touches either display, I would like to raycast from the corresponding camera that is rendering that specific display to map their inputs to the physical buttons of the helicopter. The issue is that as far as I know there is no way to get which display the user tapped in order to ray cast from the specific camera. Additionally, ray casting from both cameras and sorting will not work either, as their is overlap in the screen space of the two displays for where physical buttons may be.
To reproduce this issue simply have 2 orthographic cameras in the scene both set to render to different displays (e.g. display 1 and display 2). Have them positioned at some game-objects with varying names. Touch either display and have it return the unique name of the game-object selected.
This is a duplicate of the link posted below, however, the thread was closed with no working solution. To see a code example of what I would like to do please see the code posted in the thread. Thanks!