appbankgames/unity-webview

Forked from gree/unity-webview

License: Other

Language: Objective-C


Introduction

unity-webview is a plugin for Unity that attaches WebView component in the game scene. It works on Android, iOS and OS X.

unity-webview is derived from keijiro-san's unity-webview-integration https://github.com/keijiro/unity-webview-integration .

How to use

(TBW)

Document

(TBW)

For iOS with Unity 3.5.*

CADisplayLink stops updating when UIWebView scrolled, thus you have to change AppController.mm as the following.

-        [_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
+        [_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];

Sample Project

$ open sample/Assets/Sample.unity
$ open dist/unity-webview.unitypackage
Import all files

Project Statistics

Sourcerank 5
Repository Size 258 KB
Stars 9
Forks 5
Watchers 15
Open issues disabled
Dependencies 0
Contributors 4
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

akisute Kazuki Sakamoto Masayuki Iwai Mário Freitas

Something wrong with this page? Make a suggestion

Login to resync this repository