Question by
Coetzer · Oct 26, 2015 at 06:56 PM ·
webglbuild-errorcompile
C# to WebGL
Hi guys,
I recently finished programming my game on Unity, and I read up on WebGL and noticed that your game had to be programmed in Java Script
The deadline for the release is coming up and I don't have time to rewrite
Is there any way to compile to WebGL from C# ?
Can anybody help me with this?
Comment
Best Answer
Answer by Statement · Oct 26, 2015 at 11:21 PM
Unity will convert your assembly into JavaScript. Build a webgl project and look in the Release folder. You'll find a .js file that's several megs. It's all "compressed code", all variable and function names will be renamed to make the file as small as possible.
Alright perfect thank you, I will look for other threads about WebGL, my build is failing then for another reason.