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

unity webgl, angular js directive,

$
0
0
So I am trying to use an angularjs directive to load a unity webgl game. I have it working but on reload it bombs out, my guess is that b/c I dynamically loaded 'UnityLoader.js' and then tried to reload it (say with a different game) it has global resources attached to the first game. Is there a way to unload the resources like with a javascript api call from my app? It would be nice if we could have one 'UnityLoader.js' that we could configure to load and unload game resources. Thanks

Viewing all articles
Browse latest Browse all 2390

Trending Articles



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