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

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

381. laya2.0引入第三方库失败 [ 50%]

...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

382. [LayaAir3]LAYAAIR 3.3 和 LAYANATIVE 的VIDEO 支持 M3U8文件吗? [ 50%]

...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

383. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 50%]

... 文件:将该文件的 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

384. 导出APP装到手机打开时,一直是0%进度,最后提示“加载游戏失败,可能是你的网络不稳定”,试了N次 [ 50%]

...链接 提交 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

385. socket.sent [ 50%]

...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

386. ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 [ 49%]

...上传 Demo 附件 Layaair IDE的帧属性面板不见了 Ts 编辑提示error TS5023: Unknown option 'p' 加载到舞台的3D模型不显示贴图 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 unity中的模型导出后在laya中显示不正常 iphoneX环境下新手引...

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

387. [分享]微信小游戏声音资源批量加载卡住,临时解决方案 [ 49%]

...       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

388. 骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 [ 49%]

...pine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 问题状态 最新活动: 2019-07-05 1...

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

389. as中BoxCollider引入了,但是运行的时候还是提示null [ 49%]

...0124 相关问题 TS项目使用matter.js库无智能提示 Ts 编辑提示error TS5023: Unknown option 'p' 请问下怎么引入第三方库 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。...

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

390. laya发布vivo小游戏失败 [ 49%]

... 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