一、创建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