摘要: 问题描述: 当unity失去焦点一段时间后,与photon服务器端断开连接 问题根源: 默认unity失去焦点后会暂停运行,导致连接超时,服务器端超时断开连接 解决方案: 连接服务器后,填加一句代码让unity在失去焦点的情况下继续执行游戏 Application.runInBackground = 阅读全文
posted @ 2018-02-15 18:09 SmallOverFllow 阅读(774) 评论(0) 推荐(0) 编辑