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.
Answer by Kureiji · Apr 02, 2016 at 10:45 AM
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.
Your answer
Follow this Question
Related Questions
UI blocking 0 Answers
Have a component ignore all other overlapping raycasts for PointEnter and Exit events? 0 Answers
Adding points for every gameObject on the scene instead of adding points for the destroyed one 0 Answers
Touchscreens like in the game Prey 0 Answers
What is the best way to implement a more responsive custom drag event with Scroll Rect? 0 Answers