unity3d
haobaworenle
这个作者很懒,什么都没留下…
展开
-
打开unity的webGL项目时出现以下错误的原因
前两天我尝试导出u3d的webGL项目,用火狐浏览器打开,打不开,出现如下错误:An error occured running the Unity content on this page. See your browser's JavaScript console for more info. The error was:uncaught exception: abort(-1原创 2016-08-14 11:42:20 · 57933 阅读 · 7 评论 -
unity打开外部或本地html网页方法
我这是在学习webGL项目时学到的,给大家分享一下。1、对于外部网站,诸如baidu,可以直接调用Application.OpenURL (url);方法打开链接;if (GUILayout.Button ("URL1")) { Application.OpenURL ("http://www.baidu.com");}“http://”这段前缀可以去掉,不过建议加上,浏览器就原创 2016-08-14 18:03:00 · 28588 阅读 · 3 评论