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

How to dynamically change canvas and module to load different animations on button click in java web application?

$
0
0
Firstly, I created three animations from unity. Then build it using WebGL. I am able to merge it in existing web application, but I need to change those animations on button click and each time load new animation made from unity. Now, I would like to know: Is it possible to dynamically change single canvas and Module on button click using javascript ? If so, I would like to know how it can be done ? I tried it but I am getting error as : An error occurred running the Unity content on this page. See your browser’s JavaScript console for more info. The error was:Uncaught TypeError: Module.printErr is not a function An error occurred running the Unity content on this page. See your browser’s JavaScript console for more info. The error was:Uncaught TypeError: Cannot read property ‘apply’ of undefined

Viewing all articles
Browse latest Browse all 2390

Trending Articles



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