大约有 1,501 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0115 秒)
...布,static方法拿取不到。报错:类名.静态方法名 is not a function OPPO分包发布时遇到一个问题,当在index.js中最后require("./libs/laya.d3.js");时会报错Shader3D.propertyNameToID is not a function。将require该库的语句提前,则不会报错。但是后导入...
来源: Laya_社区 发布时间: 20201221
执行回调函数时报is not a function 解压缩laya_game.rar,双击打开laya_game\hgameStarter\bin\h5目录下的index.html,待浏览器打开后,打开开发者工具查看: Main.as里把getRolesBack函数作为回调函数传给SocketProxy.as setRoleCall,但是回调回来执...
来源: Laya_社区 发布时间: 20170622
排行榜渲染时,提示 this.bitmap.activeResource is not a function。 渲染排行榜时,报this.bitmap.activeResource is not a function 的提示。然后开放域的数据在主域中是能正常拿到的,就是渲染不出来。请问哪位大神知道这是什么原因呢?有没有...
来源: Laya_社区 发布时间: 20191104
加载3D场景报错:TypeError: bt.btBvhTriangleMeshShape create is not a function 使用编辑器2.13.1或2.13.2创建官方的3d demo项目,并在进入的场景中增加一个碰撞体,使用官方的测试app进入时,就无法进入了。并且界面上和控制台都有报错。 alert=...
来源: Laya_社区 发布时间: 20230715
vivo调试,浏览器报document.registerElement is not a function错误 laya2.1.1.1版本打包vivo版rpk,进行调试,浏览器上没有显示任何东西,浏览器的console中也报document.registerElement is not a function 的错误。 附件 : --> 2020-03-03 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20200303
prefab添加runtime脚本 comp._addComponentInstance is not a function laya.core.js:11586 Uncaught TypeError: comp._addComponentInstance is not a function at Function.SceneUtils.createComp (laya.core.js:11586) at Function.SceneUtils.createByData (laya.core.js:11507) at Prefab.__pr...
来源: Laya_社区 发布时间: 20190716
Laya3D初始化 window.wxMiniGame is not a function 具体错误信息、错误发生位置、打包后libs中的min文件如下 附件 : --> 2021-12-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_A 赞...
来源: Laya_社区 发布时间: 20211215
...微信小游戏后提示gameThirdScriptError this.preinitialize is not a function gameThirdScriptError this.preinitialize is not a function TypeError: this.preinitialize is not a function 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180828
...之间LayaAir使用不了了,报错Uncaught TypeError: Laya.Main is not a function 一直在用LayaAir都很正常,忽然之间运行LayaAir页面就报错. 新建一个空白的LayaAir项目,然后写好代码.在Google Chrome中的控制台老是报错:Uncaught TypeError: Laya.Main is not a functi...
来源: Laya_社区 发布时间: 20170410
官方视频教程中飞机大战 "this.addChild is not a function" IDE Layabox1.7.20.2 beta 版 src/Game.js//var WebGL = laya.webgl.WebGL; //Laya.init(480, 852, WebGL); var Game = (function(){ (function Game(){ Laya.init(480,852); this.bg = BackGround(); Laya.stage.addChild(this.bg); })(); })(); s...
来源: Laya_社区 发布时间: 20181003