Hello,
I've got somewhat of an issue with catching events falling through my UICameras. Let me explain my setup and what I want to do (or a simplified version, at least).
1. I've got a classic UI orthographic camera which takes care of all my 2D UI. All these objects are on a layer called UI.
2. In my 3D scene, I have interactible 3D objects, which are handled by a 3D Camera, on layers A and B.
This works just fine, except there's one thing I can't figure out how to do : I want to handle interactions happening anywhere in my scene except on my 2D UI. I thought I'd use UICamera.fallThrough, but interactions happening on my 3D UI aren't "falling through", as expected. In a word, UICamera.fallThrough seems to only catch events that fell through all of the UICameras. Is there any way to catch events falling through one particular UICamera (my 2D camera in this case), no matter what happens with the other cameras ?
I thought about setting up a plane that filled up all the screen behind the 2D UI and have it catch all the events that the rest of the 2D UI wouldn't have caught. But if I do that, my 3D UI never receives any interactions anymore, even though they're on a different layer and manager by a different UICamera.
So, I got no idea how to do that. Any help ?
I hope I was clear enough, this thing is a bit messy.
Thanks in advance for your answers.