ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

Dropdown ui element doesnt work #159

Closed dpggit closed 4 years ago

dpggit commented 4 years ago

In a clean Unity 2018.3.13f1 project with just SteamVR 2.4.5 and VIU 1.10.6 dropdown doesnt work properly, i need to click several times in an option of the dropdown list so that is selected

chengnay commented 4 years ago

@dpggit Taking VIU example scene, 1.UGUI. There are two methods to prevent trigger with no action.

  1. Adjust the drag threshold to a larger value image
  2. Adjust the duration of Pose Easer to a larger value, image

The main reason is that dropdown list contains the scrollrect, when user presses on the trigger button, the pointer tends to move a little bit, which makes scrollrect to get the action instead of toggle button.

dpggit commented 4 years ago

It works thanks

dpggit commented 4 years ago

It works but i have the problem Dropdown jitters as i move the pointer on the dropdown, how can i fix it? I dont want the dropdown moves up and down at all, just move it up and down through the scroll

dpggit commented 4 years ago

I found how, just set scroll type to none