0 votes
by (580 points)

PUI 4.6.3,SDK版本是2.0.4
已经在XR Rig上添加PXRManager和PXROverlay Manager

1 Answer

0 votes
by (3.8k points)

你可以试试PXR_UnderlayHole,这个是相关文档
https://developer.pico-interactive.com/document/doc
enter image description here

by (580 points)

当然用了Underlay_hole。就是问用了这个为什么不行啊。
我之前用都没问题的

by (3.8k points)

我这可以用,你参考一下这个demo吧
https://github.com/picoxr/Overlay-Demo-UnityXR

by (580 points)

您好,您提供的demo,无论是overlay,还是underlay,射线都会穿过overlay/underlay图片,怎么让射线不穿过overlay/underlay中的button

by (35.8k points)

overlay是直接渲染到屏幕上的,射线是在world space里的,两者应该是无法交互的,想要有能交互的ui要把canvas设置为wouldspace射线才能检测到。

1.8k Questions

2.1k Answers

2.8k Comments

1.2k Developers

If you have question about this website, please click 'Send Feedback' button at the bottom left side of the homepage.
...