大约有 393 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
js预加载声音报错 Laya.loader.load(slot_sound_res, Laya.Loader.SOUND, Handler.create(this, onSoundProgress, null, false)); //游戏资源加载进度函数 function onSoundProgress(pro) { console.log("sound" + pro); } 这样写哪里错了? 2016-12-16 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20161216
发布到微信报错:Uncaught ReferenceError: Laya is not defined at laya.wxmini.js:1345 附件 : --> 2019-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20190806
销毁 new 出的带有 PhysicsCollider 的正方体模型报错 this.box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))) as Laya.MeshSprite3D; this.box.addComponent(Laya.PhysicsCollider); this.box.destroy();引擎版本 LayaAirIDE2.0_beta.5 报错: Uncaught TypeError: Cannot r...
来源: Laya_社区 发布时间: 20190118
[Error] TypeError: null is not an object (evaluating 'this._style._tf') 请问这个怎么解决? Safari , Chrome 同样有这个问题 [Error] TypeError: null is not an object (evaluating 'this._style._tf') (anonymous function) (laya.core.js:16463) toParentPoint (laya.core.js:15797) localToGlo...
来源: Laya_社区 发布时间: 20181020
运行总报TypeError: Object prototype may only be an Object or null: undefined 我的例子只是简单的几个类继承,总是报这个异常,找了很久不没找到原因,工程见附件 TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (<anonymou...
来源: Laya_社区 发布时间: 20170921
Laya IDE中怎么使用matter,js? Laya IDE中怎么使用matter.js?比如matter.js需要手工加入吗?直接copy官方示例,设置好图片资源路径,提示Engine dont defined,为什么? 2017-05-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20170511
把场景中的对像删除,就会报错 Uncaught TypeError: Cannot read property 'visible' of null at RenderSprite3D.__proto._childs (Main.max.js?r0.22069932534774384:33147) at RenderSprite3D.__proto._graphics (Main.max.js?r0.22069932534774384:33079) at NpcView.__proto.render (...
来源: Laya_社区 发布时间: 20170913
...颜色后期时,就会出现webgl报错 Uncaught TypeError: Cannot read properties of null (reading '_mask') at WebDefineDatas.addDefineDatas (WebDefineDatas.js:63:30) at WebGLRenderElement2D._compileShader (WebGLRenderElement2D.js:46:24) at WebGLRenderElement2D._prepare (WebGLRe...
来源: Laya_社区 发布时间: 20250928
2.0.0类库,camera关闭遮挡剔除会报错 附件 : --> 2019-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 切换到2.0.1 如果还报错 请上传demo 以供查找错误 2...
来源: Laya_社区 发布时间: 20190322
微信小游戏报错 这些报错应该是引擎的 1、undefined is not an object (evaluating 'measureResult.width');at socketTask.onmessage callback function 2、null is not an object (evaluating 'this._audio.play');at audioContext.onended callback function 3、Cannot read property 'play' of nul...
来源: Laya_社区 发布时间: 20180728