I'm working on a 2D non-game application. I used TouchScript to have all the multitouch gesture but I have an issue. In the application, i have the ability to open a lot of popup that are draggable, pinch resizable and we can rotate them. These popup are made with UIPanel. I add a collider2D on them
The issue is that when 2 popup are overlapping, if i want to move the one on top, i will randomly hit the one on the back or the top one. It i like the touch goes through the first collider to hit the one behind...
First answering to the comment on your question suggesting to use the UI event system: If you just use unity's UI events, you won't get advanced gestures such as swipe, pinch, etc and will have to code it yourself.
If you need these gestures, Touchscript is working fine and is a good choice.
Now to your question: I had the same problem and solved it by putting the script "UILayer" on the camera, instead of "CameraLayer2D"