Unity开发备忘录000007:Unity2017发布WebGL版应用所需配置

1.打开Build Settings面板(File→Build Settings...),选择WebGL平台,点击Switch Platform按钮切换平台;

切换平台

2.点击Player Settings...按钮,打开PlayerSettings调板,设置Other Settings下的Color Space*为Gamma;

颜色空间

3.勾选Optimization下的Strip Engine Cde*;

勾选

4.设置Publishing Settings下的WebGL Memory Size为256,Enable Exceptions为Exclicitly Thrown Exceptions Only;

256

5.设置Publishing Settings下的Compression Format选项为Gzip;

zip

6.在Build Settings面板点击Build按钮发布,注意:发布时尽量不要勾选Development Buld选项,否则发布的时间较长;

发布

7.用火狐浏览器观看与使用。

老孙头课堂:https://edu.csdn.net/lecturer/3617

猜你喜欢

转载自blog.csdn.net/sunbowen63/article/details/88814633