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
↧