Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

error CS1061: Type `WebBrowser' does not contain a definition for `RespondToJSQuery' and no extension method `RespondToJSQuery' of type `WebBrowser' could be found. Are you missing an assembly reference?

$
0
0
using UnityEngine; using System.Collections; using SimpleWebBrowser; public class SampleJSQueryHandler : MonoBehaviour { public WebBrowser MainBrowser; void Start() { MainBrowser.OnJSQuery += MainBrowser_OnJSQuery; } private void MainBrowser_OnJSQuery(string query) { Debug.Log("Javascript query:" + query); MainBrowser.RespondToJSQuery("My response: OK"); } }

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>