Trouble Clicking on Objects with multiple active cameras
I'm working on a handheld narrative game where the player is interacting with the pages of a book that feature pictures of their pets life, these pictures are themselves scenes within Unity that will have some basic interactions. To achieve this I've got 3 cameras on the go, the main camera is showing the active page and the next page, each with its own material a texture rendered from the other two cameras. The activeScene camera is within the same space as the main camera to allow the active scenes objects to technically be on screen but each ignores the others elements when it comes to rendering the scene. My issue is that despite the pages being on the "IgnoreRaycast" layer the box featured within the first scene is not reacting to mouse clicks (i'm currently using OnMouseDown to register a click). I've started trying to implement the raycast code from Holistic3D and assigning the activeScene camera instead but the other issue is to render the scene the correct way round I've had to flip the activeScene and nextScene camera and so using the base code results in a ray cast at the opposite point of the clip plane.