Example #1
0
 void OnGUI()
 {
     if (GUI.Button(new Rect(0, 0, 400, 200), "Click!"))
     {
         JWebViewHelper.ClearAllEvent();
         JWebViewHelper.RegisterEvent("log", this.name, "DebugLogData");
         JWebViewHelper.ShowWebView("http://thankiem3d.vn/test-webview");
     }
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     DebugLogData("1");
     JWebViewHelper.Init();
 }