I have a game object for a Page, and in my game you can swipe left to open a side menu. I’m doing this using drag handlers and it works fine. But if there is a scroll view on the page and you swipe where the scroll view is, it absorbs the drag and I never get it! The scroll rect only allows scrolling vertical and my page swipe is left and right, so I know if I can detect the drag, I can determine based on direction whether the scroll rect should have it or the page, but I don’t know how to do this in Unity’s event system as it appears only one object can receive those events? Is there another way?
Try adding swipe cotnrols with Input.phase ,
Check here for example,
1 Like
Thanks idurvesh this is a great idea!
1 Like
welcome
1 Like