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

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

141. ts项目,我在程序主入口声明了公共静态类,下面new出了一个对象,把他添加到舞台中出错。 [ 51%]

...:file: 'file:///e%3A/LAYABOX/CaiCi/src/GameMain.ts' severity: '错误' message: 'Argument of type 'GameStart' is not assignable to parameter of type 'Node'. Property '_childs' is missing in type 'GameStart'.' at: '56,29' source: 'ts' 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

142. 疑似WebAudio内存泄漏 [ 51%]

...ger.playSound(this.soundUrl, 1, null, null, 0); } } catch(e) { Debug.err(e.message); } Victor • 2018-10-18 15:56 @demibug 目前在IE上我用的是audio标签播放的,在其他设备用的是webaudio if(Laya.Browser.onIE ){ Laya.SoundManager.useAudioMusic = true; }else{ Laya.SoundManager.useAu...

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

143. 求救:LayaAirProToBuf-AS3版本 [ 51%]

...,生成的MsgLogin.as文件都是flash版本的,但是ProToBufDemo\src\message目录下的MsgLogin.as文件又是layaair版本的。 附件 : --> 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Monic...

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

144. websocket无法连接 [ 50%]

... this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler);   以上代码,host传入 "localhost" 可以连接上服务器, 将host 换...

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

145. protobuf TS中使用 [ 50%]

...: 按官方 Network_ProtocolBuffer 测试 编译出现        var message:any = AwesomeMessage.create(             {                 awesomeField: "AwesomeString"             });   "Cannot read property 'create' of null" 2017-08-17 0 0 分享 微博 QZ...

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

146. 初学者,LayaAir IDE舞台不显示效果,并提示file: [ 50%]

...e: 'file:///f%3A/Layabox/Hello%20Layabox/jsconfig.json' severity: '警告' message: 'Problems loading reference 'https://schemastore.azurewebsites.net/schemas/json/jsconfig.json': Unable to load schema from 'https://schemastore.azurewebsites.net/schemas/json/jsconfig.json': Unable to connect to http...

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

147. 用ts开发,从编辑模式发布后,代码模式里layaUI.max.all.ts会报错 [ 50%]

.../d%3A/Html5/LayaBox/xxx/src/views/ui/layaUI.max.all.ts' severity: '错误' message: 'Cannot find name 'loadUI'. Did you mean the instance member 'this.loadUI'?' at: '16,13' source: 'ts' 2017-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

148. HttpRequest有一定几率触发error事件 Status:0 [ 50%]

...分时候正常  但有20%的几率会触发error事件回调,收到的message为"failed Status:0 text:"   只在本次运行的第一次调用会出现,如果第一次没有触发error则后面的所有send也不会触发error 而第一次触发error则后面的所有send都会触发error 201...

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

149. socket与node服务端连不上?按照官方案例 [ 50%]

...s.socket.on(Laya.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(event){ //正确建立连接; console.log("链接"); } functio...

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

150. [LayaAir3]打包harmonyos next后,运行报错 [ 50%]

...                              E     [Simulator Log]Error message:Cannot read property getContext of undefined 10-31 09:07:08.249   20856-2248    C01304/Simulator                                      E     [Simulator Log]Stacktrace: 10-31 09:07:08.249   2...

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