Unity UI Button Interaction

preview-window
ui
#1

Hi,
I am work with zspace application. I can’t able to click Unity UI button both with stylus and also with mouse click in preview window.please suggest me how to work with UI in zspace . Thank You

0 Likes

#2

Hi Sreehari,

I must admit that UI considerations are lacking in the current zCore package. Mouse interaction is the easier one to get working at first. You can see an explanation in this prior thread. Once you have that solution in place, then the easiest way to get stylus input working is to enable mouse emulation in zCore’s inspector fields.

Mouse emulation for stylus isn’t ideal and has its limitations, but its the quickest solution for now. Ideally, stylus UI interaction should be implemented by extending Unity’s StandaloneInputModule. We’re working to bring internal solutions that employ this approach to the public, but it isn’t ready quite yet. As soon as we have a publicly available implementation, I’ll be revisiting related threads like this one to announce its availability.

Regards,
Alex S.

0 Likes