LaserInputModule
**component on EventSystem
GameObject, choose platform VIVE_STEAM2 and click Setup Input Module. It might take a few seconds to set up. You can then choose the trigger action for the laser pointer.Make sure SteamVR Plugin is imported.
Add [SteamVR] and [CameraRig] into your scene.
Drag UIKitPointer prefab in one of the Controllers under [CameraRig].
Add **EventSystem
in your scene, remove all the components on **EventSystem
and add Laser Input Module
component.
On the LaserInputModule
**component, choose platform VIVE_STEAM2 and click Setup Input Module. It might take a few seconds to set up. You can then choose the trigger action for the laser pointer.
<aside> 💡 If you haven’t created an action set for Steam VR 2. Please select window > Steam VR Input in unity toolbar. And generate a set of Steam VR actions. Once you've generated the action set, you can select the action trigger on Laser Input Module.
</aside>
Please take a look at VivePlayerDemo(SteamVR2).unity
for a reference.
Laser Input Module
.