I'm at a loss on how to solve this one. I'm using DFGUI, but I think the problem is 'universal'. How to raycast or detect in some way if ones touch is over a GUI element? as the GUI cam is a fixed orthogonal one, and the regular 'game cam' won't detect hitting that layer.
Attached is an image of my wish to only activate swipe when over specific GUI elements, swipe left-right = green layer and up-down = red layer and no swipe for purplish GUI. But when touch is over the 3d guy in the dark greenish area I don't want swipe to work, just regular touch (orbit cam), and viceversa I don't want to orbit the character when I touch the GUI.