Im building a tower defense game on unity and would like to allow the player to pan the camera on a large map. I am using touchscript to handle the touches.
I made a testing project with the following hierarchy
I am using the pan gesture to move the panning object which then sets the main camera's position to negative of the panning object's corrds.
So far, the things that should work worked properly. There is however the issue that the sprite object is higher up the layer and thus take priority. This means that if the viewport is filled with the sprite object, you are no longer able to pan as you cant touch the panning object behind the sprite object.
So the question is,
1. How does touchscript handle layering?
2. How can one achieve a passthrough effect where the sprite would handle tap gestures and the panning object handles pan gestures?
3. Can anyone suggest a better touch system for what im trying to do other than touchscript?