• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 203 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)

161. 服务器websocket c++发送二进制类型包,客户端没有任何事件响应 [ 48%]

...n); socket.on(Laya.Event.CLOSE, this, onSocketClose); socket.on(Laya.Event.MESSAGE, this, onMessageReveived); socket.on(Laya.Event.ERROR, this, onConnectError); 2017-08-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Zzz18815519 相关...

来源: Laya_社区 发布时间: 20170822

162. 手机打开游戏页面,一片空白是什么原因?电脑上是正常的 [ 48%]

...JS档案 就会报出以下错误 undefined:1625 throw new JS_Parse_Error(message, filename, line, col, pos); ^ SyntaxError: Unexpected token operator «=», expected punc «,» at JS_Parse_Error.get (eval at <anonymous> (D:\LayaAirIDE\LayaAir1710N\resources\app\node_modules\layacmd\node_modul...

来源: Laya_社区 发布时间: 20170908

163. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 48%]

...下载失败,但是底层还是会创建3D对象, 底层一定会报错 {"message":"gameThirdScriptError Cannot read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined     at t.<anonymous> (https://usr/...

来源: Laya_社区 发布时间: 20190510

164. uglify压缩后的错误堆栈解析 [ 47%]

...on); } // consumer.destroy(); } main().catch(error => console.log(error.message));   6、在cmd中运行:node convertSourceMap.js "at t.ClearYeMan (http://cangqiong.17dawan.com/v ... 341015)" "F:\\jenkins_workspace\\branch\\0707\\release\\sourcemaps\\js\\bundle.js.map" 2020-07-20 添加评论 ...

来源: Laya_社区 发布时间: 20200720

165. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 47%]

...nextgenas/node_modules/flexjs/frameworks/js-config.xml' severity: '错误' message: '无法打开“/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/js/libs/GCL.swc”。 /Applications/LayaAirIDE_beta.app/Contents/Resources/app/ext...

来源: Laya_社区 发布时间: 20180914

166. 版本1.7.14beta , tsconfig.json里 target设置为es6, 项目发布时会报错, [ 47%]

...urces\app\node_modules\uglify-js\lib\parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_Parse_Error (E:\Program Files\LayaAirIDE\resources\app\node_modules\uglify-js\lib\parse.js:196:18) at js_error (E:\Program Files\LayaAirIDE\resources\app\node_modules\uglify-js\lib\...

来源: Laya_社区 发布时间: 20180124

167. js socket 连接不上 [ 47%]

...a.Event.OPEN, this, openHandler); //建立连接 this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(even...

来源: Laya_社区 发布时间: 20180509

168. 用Geolocation获取地理位置信息(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 46%]

...tion.TIMEOUT) errType = "Time Out"; trace('ERROR(' + errType + '): ' + err.message); } ``` 以上示例代码演示使用`getCurrentPosition()`获取当前的位置信息,成功时打印地理位置信息,失败时打印错误信息和错误原因。 ### 2、监视位置改变 ​ 除了获取...

来源: Laya2.0_文档 发布时间: 20210715

169. 用Geolocation获取地理位置信息(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 46%]

...tion.TIMEOUT) errType = "Time Out"; trace('ERROR(' + errType + '): ' + err.message); } ``` 以上示例代码演示使用`getCurrentPosition()`获取当前的位置信息,成功时打印地理位置信息,失败时打印错误信息和错误原因。 ### 2、监视位置改变 ​ 除了获取...

来源: Laya2.0_文档 发布时间: 20210715

170. 用Geolocation获取地理位置信息(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 46%]

...tion.TIMEOUT) errType = "Time Out"; trace('ERROR(' + errType + '): ' + err.message); } ``` 以上示例代码演示使用`getCurrentPosition()`获取当前的位置信息,成功时打印地理位置信息,失败时打印错误信息和错误原因。 ### 2、监视位置改变 ​ 除了获取...

来源: Laya2.0_文档 发布时间: 20210714