Getting started

  1. Purchase and import 3D WebView for one or more platforms: Android, iOS, Windows and macOS
  2. Add the WebViewDemo scene to your build
  3. Android settings:
    1. Set "Minimum API Level" to "Android 5.0 Lollipop"
    2. Set "Internet Access" to "Require"
  4. iOS settings:
    1. No changes to the Unity player settings are required
    2. Once Unity generates your Xcode project, verify that "Enable Bitcode" is set to "No" in Build Settingslocation of bitcode settings in Xcode
  5. Windows settings:
    1. Set "Graphics APIs for Windows" to "Direct3D11"
    2. The Windows plugin requires Microsoft's Visual C++ Runtime, which you can install by running the vc_redist.x64.exe installer from Microsoft's support page.
  6. macOS settings:
    1. Set "Graphics APIs for Mac" to "Metal"
    2. Verify that "Metal Editor Support" is enabled
  7. Now you can run the WebViewDemo scene in the editor or build and deploy it to your device
  8. Check out the docs for WebViewPrefab and IWebView for more details on loading and interacting with web content

Examples

  • 3D WebView's WebViewDemo scene displays Google.com with a keyboard for typing. It uses Unity's standalone input system, so you can tap and swipe on the screen to click and scroll.
  • Oculus example (Oculus Quest, Oculus Go, and Gear VR)
  • Google VR example (Cardboard and Daydream)
  • AR Foundation example