Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

Unity 2020.1 sendMessage no longer works from browers JS

$
0
0
The new version does not have instantiate in the .js file. There is no this line var unityInstance = UnityLoader.instantiate("unityContainer", "Build/YourBuild.json", {onProgress: UnityProgress}); If I try `unityInstance.SendMessage("ObjectName","methodname",value);` The console in brower reports unityInstance not defined. How do I send message from browser to webgl now?

Viewing all articles
Browse latest Browse all 2390

Trending Articles



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