Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.21 KB

File metadata and controls

37 lines (21 loc) · 1.21 KB

unity3d-webview-csharp

Overview

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

Howto

Unity Side

Also see the original sample of keijiro's if you want to use Unity javascript version as the following:

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

  • iPhone4s on iOS 6.1 (built with Xcode 4.6 on OSX 10.8.2)

Android

  • Samsung Galuxy S2
  • Samsung Galuxy Note II (all built on OSX 10.8.2)

License

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