0 votes
by (830 points)
recategorized by

有谁能截个图 或者打出代码来吗 详细讲一讲 谢谢了

1 Answer

0 votes
by (5.3k points)
selected by
 
Best answer

你用的是Unity吗 用的他们的哪个SDK啊

by (830 points)

Unity XR SDK v_2.0.1 这个

by (5.3k points)

我是按照Unity官网上的XR文档这么获取左手Trigger键值的

InputDevices.GetDeviceAtXRNode(XRNode.LeftHand).TryGetFeatureValue(CommonUsages.triggerButton, out isDone)
by (830 points)

谢谢 我已经知道了 非常感谢

by (830 points)

老哥 有联系方式吗 可以给一个方式吗

...