大约有 443 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(404) Laya2.0_文档(10) Laya3.0_文档(9) laya_api(6) Laya3.0_api(5) Laya2.0_api(5) Laya2.0_示例(2) Laya_示例(2)
...libs目录下,并在index.js里loadLib("libs/pb2.js")。 编译报错: Error: Cannot find module '../../libs/pb2' from 'E:\myLaya2D\src\script' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirID...
来源: Laya_社区 发布时间: 20190220
...ED, () => { video.muted = true; this.playVideo(); }); hls.on(HLS.Events.ERROR, (event, data) => { console.log("HLS加载失败"); }); hlsxx = hls;//方便销毁用hlsxx.destroy(); }else if(videoTexture.canPlayType("m3u8")){ this.playVideo(); videoTexture.element.pause(); videoTexture.element.s...
来源: Laya_社区 发布时间: 20250908
... 文件:将该文件的 16065 行注释掉,注释后的代码如下: error(err, pos) { if (typeof err === 'string') err = { message: err }; if (pos) augmentCodeLocation(err, pos, curSource, id); err.id = id; err.hook = 'transform'; // return pluginContext.error(err); },该方法虽然可以解...
来源: Laya_社区 发布时间: 20201223
...链接 提交 3 个回复 casd12222003d 赞同来自: undefined:165:syntaxerror:unexpected token illegal syntaxerror:unexpected token illegal at eval (native) at Document._downloadOK (apploader.js:6125:20) at apploader:js:6104:20 at filereader.filereader.onload (apploader.js:6683:47) 2018-01-12 0 0 ...
来源: Laya_社区 发布时间: 20180112
...t.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private openHandler(event: any = null): void { //正确建立连接; console.log("建立"+event);//没有写出 } private receiveHandler(msg: any = null): void { ///接收到数据触发...
来源: Laya_社区 发布时间: 20180210
...上传 Demo 附件 Layaair IDE的帧属性面板不见了 Ts 编辑提示error TS5023: Unknown option 'p' 加载到舞台的3D模型不显示贴图 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 unity中的模型导出后在laya中显示不正常 iphoneX环境下新手引...
来源: Laya_社区 发布时间: 20170331
... 2 在MiniSound类的onDownLoadCallBack函数中,this._sound.onError(MiniSound.bindToThis(this.onError,this)); 这一句的后面,增加如下语句:this._sound.volume = 0; this._sound.onPlay(MiniSound.bindToThis(this.resetPlay,this)); this._sound.play(); 3 ...
来源: Laya_社区 发布时间: 20181026
...pine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 问题状态 最新活动: 2019-07-05 1...
来源: Laya_社区 发布时间: 20190704
...0124 相关问题 TS项目使用matter.js库无智能提示 Ts 编辑提示error TS5023: Unknown option 'p' 请问下怎么引入第三方库 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。...
来源: Laya_社区 发布时间: 20171220
... index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Module._load (internal/modu...
来源: Laya_社区 发布时间: 20200817