This Unity project demonstrates how to view and interact with web content in VR on Oculus Quest and Rift using Vuplex 3D WebView. It includes the Oculus Integration package, so the only thing you must import is 3D WebView for Android with Gecko Engine or 3D WebView for Windows.
- Created a new project with Unity 2020.3.23.
- Installed the Oculus Integration package (v35).
- Installed 3D WebView (.gitignore).
- Created a new scene named OculusWebViewDemoScene to combine 3D WebView's WebViewPrefab and Keyboard prefabs with the Oculus OVRCameraRig.
- Added support for controllers by adding the Oculus UIHelpers prefab to the scene.
- Made the following tweaks to the scene's UIHelpers prefab instance:
- Updated the OVRInputModule script's "Ray Transform" and "Joypad Click Button" values
- Disabled the Sphere cursor visual
- Enabled the LaserPointer's line renderer and set its material
The Oculus Integration library located in Assets/Oculus is Copyright © Facebook Technologies, LLC and its affiliates. All rights reserved. The Oculus Integration Library is licensed under the Oculus SDK License.
All other code and assets are Copyright © Vuplex, Inc and licensed under the MIT License.