3 ms·
I just tested the WebGL export with a very simple 2D scene. It produced a 24MB compressed JavaScript file. I'm guessing it's the entire Unity engine that's port
by davedx 12y ago
I just tested the WebGL export with a very simple 2D scene. It produced a 24MB compressed JavaScript file. I'm guessing it's the entire Unity engine that's portable to WebGL compiled with Emscripten. I wonder if it's possible for them to leverage the Closure compiler to strip out the parts of the engine your project does not use.
Anyone from Unity here who can comment on this?