Home

Awesome

unity3d-webview-csharp

Overview

C# port of unity3d-webviw-integration sample on unity-webview-integration.

Howto

Unity Side

The original sample of keijiro's which is written with Unity's javascript can be found on unity-webview-integration

See Assets/Plugins/WebMediator.cs which does all the magic. It loads specified URL and can be specified page margin and so on. It also does pick message which is sent from webview. You can see for more details on TestInterface.cs

Webview side

See the index.html for the details.

Test

Tested on the following devices:

iPhone

Android

License

See the included LICENSE.txt. (same as unity-webview-integration)