Mobile game, Touchscript pass through UI

Hi everyone !

I’m new here and i’m glad there is active community on Unity !

I’m making a 3D game for mobile and i’m using Touchscript, i need to block the TouchScript raycast when the user is touching a UI element.

I have no idea how to do this, i tried many configuration with UI Layer, Camera Layer but nothing effective.

Have you some idea ?

Hope i’m clear.

I found the solution by my own.

Use a Touch Manager script and sort the layers, put the UI layer at the top of the list.