Skip to content
Demonstrates how to show a webview in AR using AR Foundation and Vuplex 3D WebView
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead, 12 commits behind Unity-Technologies:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

AR Foundation WebView Example

This Unity project demonstrates how to interact with web content in augmented reality using AR Foundation and Vuplex 3D WebView. It's a fork of the Unity AR Foundation Samples repo that adds a scene named ArWebViewDemoScene.

demo

Instructions for building

  1. Download Unity 2019.1 or later

  2. Open Unity and load the project at the root of the ar-foundation-webview-example repository

  3. Import Vuplex 3D WebView

  4. Select Android or iOS as the platform

  5. Build ArWebViewDemoScene and run it on your device

Steps taken to create this project

  1. Forked the Unity AR Foundation Samples repo

  2. Imported Vuplex 3D WebView (.gitignore)

  3. Made a copy of SampleUXScene named ArWebViewDemoScene (3efff2e)

  4. Made copies of PlaceMultipleObjectsOnPlane.cs and UIManager.cs named PlaceWebViewOnPlane.cs and WebViewDemoUIManager.cs (517f20e)

  5. Updated those scripts to place a WebViewPrefab and Keyboard in the scene when the screen is tapped (8332347)

  6. Made the following changes in the scene to allow the webview and keyboard to be controlled by touching them (8332347)

    • Added a Physics Raycaster to the AR Camera
    • Updated MoveDeviceAnimation and TapToPlaceAnimation to disable their images' "Raycast Target" option
You can’t perform that action at this time.