unity发布的WebGL部署到IIS

一、创建WebGL代码

  在win7下,Unity3D中发布WebGL,然后部署到IIS,只要代码是对,关键是添加mime类型

二、为网站添加mime类型

.json    text/json

.unity3d   application/octet-stream

.unityweb  application/binary

其他相关,有用到再添加

.mem     application/octet-stream
.data"    application/octet-stream
.memgz   application/octet-stream
.datagz    application/octet-stream
.unity3dgz   application/octet-stream
.jsgz      application/x-javascript

原文:

https://blog.csdn.net/liamzhu/article/details/79205394

https://www.cnblogs.com/roger634/p/5370889.html

上一篇:DES加解密代码实现(C++)


下一篇:springmvc中forward和redirect