Requires Unity 5.0.0 or higher - 需要Unity 5.0.0以上的版本
UniWebView 2 is an easy solution for integrating WebView to your mobile games. You can set up a web view and embed web content in your game with less than 10 lines of code. There is also a clean and simple interface for you to interact between the game and webview.
Notice: UniWebView 2 is for Unity 5.x. If you are working with Unity 4.x, please try to use UniWebView 1.x instead. You can find that version here.
Main features:
* A native webview UIWebView for iOS, WebView for Android), and WebBrowser for Windows Phone. Compatible with HTML5, CSS3 and Javascript.
* Send a message from webpage to Unity, using a specified url scheme. You can control the game flow and run your script code by clicking a url in the web page.
* The size and apperence of webview is customizable.
* Play youtube video and other media.
* Customizable url schemes for communicating between Unity and WebView.
* Source code included.
* Easy debug for Unity Editor on a Mac. There is no need to build and run again and again in your device. You can preview and interact with the webview just in editor. (Support for Windows Editor is on the way)
There is a online manual to help you to get started with UniWebView. You can also find a reference and forum in the link below. If you have any questions, please feel free to contact with email.