大约有 223 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0036 秒)
...n (data) { console.info('加载分包 sub1Name 成功') }, fail: function (err) { console.info('加载分包 sub1Name 失败', err) } } ) ``` 加载成功的同时,qg.loadSubpackage 会返回一个 [LoadSubpackageTask](https://developers.weixin.qq.com/minigame/dev/document/subpackages/LoadSubpacka...
来源: Laya2.0_文档 发布时间: 20210715
...教下 在生成build文件的时候发生错误: fs.js:159 throw new ERR_INVALID_CALLBACK(); ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at maybeCallback (fs.js:159:9) at Object.fs.writeFile (fs.js:1278:14) at /usr/local/lib/node_modules/component/bin/c...
来源: Laya_社区 发布时间: 20180109
...Loading, null, false)); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, onError); this.moveover =true; function onAssetLoaded(texture) { console.log("加载结束"); pic="res/castlebeyond.jpg"; this.bgimg = new L...
来源: Laya_社区 发布时间: 20171024
...emp.js echo console.log(str)>>compile_temp.js echo if(str.match(/^\s*Error\:/)){app.exit(1);return;}>>compile_temp.js echo let isTasksComplete = str.match(/^laya\.ide\.complete$/m)>>compile_temp.js echo if (isTasksComplete){>>compile_temp.js echo app.exit(0)}>>compile_t...
来源: Laya_社区 发布时间: 20200325
...的程序怎么发布到web?用自带的Demo发布打开都失败 提示 error]Failed to load: test/TestScene.scene _endLoad @ laya-9e66188d9c.core.js:1 laya-9e66188d9c.core.js:1 Fail to load: test/TestScene.scene laya-9e66188d9c.core.js:1 Uncaught Can not find scene:test/TestScene.scene laya-9e66...
来源: Laya_社区 发布时间: 20200216
...GitHub上没有吗? HttpRequest在firefox里面执行正常在ios出现err 脚本未定义 问题状态 最新活动: 2017-05-27 18:30 浏览: 1365 关注: 2 人 andrwyw • 2017-11-17 16:25 这个addComponent传的是个类名,不是对象。。应该如何传参呢?? 看demo里用的是sta...
来源: Laya_社区 发布时间: 20170527
... 用Laya.loader.create这个方法加载3D资源的时候报错,报错:Error: model file err,no this function:65461 undefined 2018-11-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ...
来源: Laya_社区 发布时间: 20181117
...戏环境音频播放出错 > MgInnerAudioChannel.ts L33-L36 ctx.onError(err => { console.error("MgInnerAudioChannel: " + getErrorMsg(err)); this.stop(); }); 报错位置在getErrorMsg解析错误信息, 最终导致的结果是什么呢, 无法播放长音频, 然后我把这个这段...
来源: Laya_社区 发布时间: 20250609
...发布微信小游戏提示一个错误CompressJS Fail,是什么问题? [ERR]|CompressJS Fail: E:/zhanlong_h5/zhanlong/bin/libs/laya.html.js {"message":"Unexpected token: name (slsIndex)","filename":"0","line":924,"col":9,"pos":23180}并提示 发布成功! 2020-03-23 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20200323
...麻烦啊 ,请问一下有别的方法吗 Failed to load resource: net::ERR_FILE_NOT_FOUND Uncaught Can not find class laya.ani.bone.Skeleton Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent 脚本重命名后报Uncaught Can not find class 错误 发布微信小游戏运...
来源: Laya_社区 发布时间: 20180403