SteamVR – Unity UI integration

Easy integration of the SteamVR controllers with Unity’s uGUI system.

Get it HERE, Link to unity forums post (For support): HERE

Easy integration of the SteamVR controllers with Unity’s uGUI system.

It also can be used as a base to extend unity’s input system (Input and GraphicRaycaster modules)

It includes a custom Input Module and a custom Graphic Raycaster allowing to use steam vr controllers to interact with the Unity native UI system.

How to integrate it in your project:
1. In the EventSystem gameobject remove (or deactivate) Unity’s Input Module (usually Standalone Input Module)
2. Add our SteamVR Input Module
3. Add at least one Steam VR Pointer and configure which physical controller should follow
4. (Optional) Add a line renderer prefab to use it as a laser beam
5. (Optional) Add a object to use as a hit indicator
6. In your canvas (or canvases) remove (or deactivate) Unity’s Graphic Raycaster
7. Add our SteamVR Graphic Raycaster

SteamVR UI Input Module SteamVR UI Input Module

All native controls work, including Scroll View and the controller virtual Scroll wheel

Full source code is included, as well as an example scene showing every native control. I use this asset for my own projects, so I will keep improving and expanding it.

If you have any comments, doubts, feature request or find some control misbehaving just let me know in the forum’s thread