摘要: 这是一个关于 monodevelop 的“坑”我们在用 monodevelop 编译游戏脚本时, 通常会有一些警告,一般这些警告都是无害的,不影响游戏运行。可是突然有一天, monodevelop 发神经将一些警告标记为错误,导致unity无法运行游戏。查看 monodevelop 的输出信息, 发... 阅读全文
posted @ 2015-12-03 17:54 Marrco Studio 阅读(593) 评论(2) 推荐(0) 编辑
摘要: Unity 导出游戏到 iOS 平台,当时选择的设置是 mono2x, 结果游戏各种莫名其妙的崩溃,再崩溃,几乎运行不到一分钟就崩溃,而在 editor 和 android 平台都是正常的。查看出错信息:发现一条 “Ran out of trampolines of type 2” 错误信息。ok,... 阅读全文
posted @ 2015-12-03 15:40 Marrco Studio 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 我们项目是通过 www 下载 Assetbundle 来实现热更新的, 在 iOS 8上一切正常,但在 iOS9 设备上发现无法下载,跟踪调试发现以下错误信息“App Transport Security has blocked a cleartext HTTP (http://) resource... 阅读全文
posted @ 2015-12-03 14:51 Marrco Studio 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 最近升级到 vs2012, 发现设置 vc include 目录跟以前不一样了。具体方法如下:菜单 :视图->属性管理器在属性管理器里展开相关节点,猛击"Microsoft.Cpp.Win32.user", 选择“通用属性”->"VC++ 目录"添加需要的目录即可。 阅读全文
posted @ 2013-03-11 17:22 Marrco Studio 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 如果perforce服务端和客户端部署在不同的操作系统下时,例如服务端部署在windows系统下,客户端为Mac OS系统,则上传的代码中的中文会变成乱码,此时需要在服务端与客户端均设置成 unicode(UTF-8)模式。perforce服务端安装完成后运行 CMD, 输入以下命令:====================================/*进入perforce安装目录*/cd C:\Program Files\Perforce\Serverp4d -xi=====================================成功后会看到“server switched . 阅读全文
posted @ 2013-03-07 16:02 Marrco Studio 阅读(4001) 评论(0) 推荐(0) 编辑
摘要: 某些时候,当用户按下home键时,我们希望能够退出程序,而不是在后台挂起,这样当用户下次启动程序时,程序会从头开始执行,而不是上次停留的页面。 我们只需在info.plist 中添加 ”Application dos not run in background“ 属性,并设置为 true 即可。 阅读全文
posted @ 2012-01-11 17:58 Marrco Studio 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 今天在工程里集成了Three20,一切都很顺利,运行时却抱[UIViewController ttAddNavigatorController:]: unrecognized selector异常。经过查找资料:http://developer.apple.com/library/mac/#qa/qa1490/_index.html======================A: Why do I get a runtime exception of "selector not recognized" when linking against an Objective-C 阅读全文
posted @ 2012-01-10 23:17 Marrco Studio 阅读(392) 评论(0) 推荐(0) 编辑