Skip to content
Adding an Android WebView on top of the Unity display, while allowing the user to see and use your Unity UI
Branch: master
Clone or download
Latest commit aaf9832 May 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vs initial commit May 28, 2018
Assets initial commit May 28, 2018
PluginProject initial commit May 28, 2018
ProjectSettings initial commit May 28, 2018
UnityPackageManager initial commit May 28, 2018
.gitignore update video URL May 28, 2018
README.md update video URL May 28, 2018

README.md

AndroidUnityWebView

This extends the base plugin with a OpenWebView method, allowing an Android WebView to be created, loaded, and then displayed and interacted with on top of Unity.

This tutorial creates a LinearLayout, a TextView, and a WebView. The TextView is used to allow for a blank space at the top of the layout, so some portion of the Unity screen is still visible and can be interacted with.

The WebView uses a default WebViewClient that allows links to be opened inside the WebView instead of presenting a picker to the user.

The video for this tutorial can be found at:

https://youtu.be/r1hLo5C50wE

This tutorial was made with Unity 2017.3.0f3, Visual Studio Community for Mac 7.4, and Android Studio 3.0.1

@cwgtech

You can’t perform that action at this time.