老是访问官网搭建unity环境太麻烦了,自己记录一下,在国内看。
官网教程连接 Getting Started with Interaction SDK | Oculus Developers

Once you’ve completed the tutorial listed above, you can find Interaction SDK in Unity under the Assets/Oculus/Interaction folder.
Under Inspector, in the OVR Manager component, set the Tracking Origin Type property to Floor Level.

OVRInteraction is the base prefab for hands and controller components, which source data from OVRPlugin via OVRCameraRig
Under Project, search for OVRInteraction, then drag the OVRInteraction prefab (以前的插件版本中叫inputOVR,如果别人的例子中是inputOVR那说明是以前的,我们用OVRInteraction代替它即可) from the search results onto OVRCameraRig.
You can check OVRPlugin.GetHandTrackingEnabled() to find out when the user has switched from controllers to hands.
OVRHands is the base for the hands input device. It controls the appearance of the hands, their position relative to the camera, and the interactors each hand can use.
Under Project, search for OVRHands, then drag the OVRHands prefab from the search results onto OVRInteraction.

OVRCameraRig syncs the camera with the movement of the headset and contains some hand settings.Under Hierarchy, select OVRCameraRig.Under Inspector, in OVR Manager, set these properties to the following values:


Under Inspector, disable all scripts except for OVR Hand and OVR Skeleton by unselecting the checkbox for each script.
In the OVR Skeleton component, set the Skeleton Type property to Hand Right.