HTC UGUI检测到射线

来源:互联网 发布:跳跃网络的游戏有哪些 编辑:程序博客网 时间:2024/05/16 00:57

VRTK_ControllerEvents感知手柄事件的


VRTK_UIPointer这个脚本作用两个:
1 disable existing standalone input module and add the custom event system
2 disable existing graphic raycaster and add the custom raycaster
3 add a box collider and background image to ensure the rays always hit


这里写图片描述


pointer Toggle Button 是个枚举变量,可以手动再添加一个None ,然后pointer pressed勾选

pointer visibility 表示激光线一直显示


这里写图片描述


FR:海涛高软(QQ技术群:386476712)

1 0