0 votes
by (460 points)

What is happening when I click the pointer outside of the canvas. If I supposed to scroll items, it is scrolling at the same time, the buttons also triggering a event. If I used to take the pointer away from canvas while attempt scrolling without unhold trigger key, it works fine and the event is not triggered. If I try to scroll inside the canvas, whatever the button I hold to scroll is gets clicked. I have gone through your UI Demo scene, even in that scene itself the button is clicking while scrolling, I want to scroll with the help of pointer only not with Pvr_TouchpadScroll. Can you give me a solution?

well I'm using (Unity 2019.2.13f1 and SDK (PicoVRUnitySDK64bit-2.8.12B583-20211027) and PUI v4.0.7)

1 Answer

0 votes
by (5.3k points)

Their documentation of pvrUnitySdk shows that supported Unity versions don`t include unity 2019.2.x https://developer.pico-interactive.com/docs/en/12058/225965/
you can update your Unity version and try again. And you can try scroll while the pointer is outside the button.

by (460 points)

yeah buddy! I used the wrong term. I have problem with drag and click. If I try to drag a button to scroll, the button is getting clicked. If the pointer is released while clicking away from the canvas then the button doesn't triggered. If I try to drag inside the canvas to scroll (pointer is clicking inside the canvas) the button is triggered before scroll gesture completes it action.

...