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
↧