0 votes
by (400 points)

Button is getting clicked while scrolling, obviously we need to click the button to scroll up or down. Can you show me the suggestions. I have tried many ways but nothing helping the button is stop clicking while scrolling. I dint find anything like that the same project I used in oculus quest. I need a script to avoid button stop clicking while scrolling exactly the button should not clicked when user used to drag the button.

I am using Pico VR Sdk(v2) - deprecated
unity version 2019.4.3

1 Answer

0 votes
by (5.3k points)

You can check this ui demo, perhaps you dont neet use button to scroll
https://github.com/picoxr/UI_Interaction

by (400 points)

no, my question is, I have list of button in a scroll page. I want to scroll the list of buttons without the button gets clicked. unfortunately, the button is getting clicked when try to scroll. I want to avoid the button clicking when drag.

by (5.3k points)

its a bug in this sdk, you can just move you mouse out of canvas so the button wont be clicked

...