大约有 5,296 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(4580) Laya3.0_api(672) Laya3.0_文档(15) Laya2.0_文档(8) Laya2.0_api(7) Laya_示例(6) laya_api(5) Laya2.0_示例(3)
Laya.Pool.getItemByClass 闪退 var fish:CFFish = Laya.Pool.getItemByClass(type,CFFish) as CFFish console.log(fish) fish.visible = true fish.init(type) 调用init方法时候闪退,错误信息是 "fish.init is not a function" "TypeError: fish.init is not a function at Function.CFSprite.reusableF...
来源: Laya_社区 发布时间: 20180404
...math.self.js'></script> 打包之后,发生的bug如下: math is not defined ReferenceError: math is not defined at http://127.0.0.1:19768/game/code.js:60:1 at require (http://127.0.0.1:19768/game/__ ... :78871) at http://127.0.0.1:19768/game/__ ... 78480 at http...
来源: Laya_社区 发布时间: 20190312
...g by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. laya.core.min.js:6 [warn]Retry to load: E:/laya/layatest/release/layaweb/1.0.0/res/img/image.png index.html:1 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource...
来源: Laya_社区 发布时间: 20170315
...果去掉这个提示 layaair-cmd 编译提示 ReferenceError: primordials is not defined 微信小程序 发布后缺少app.json文件 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? JS 是没有自动补全提示吗 路径是对的,但老是,调试...
来源: Laya_社区 发布时间: 20231130
...新建的空项目,开启调试模式后报错了 ReferenceError: laya is not defined preload.js:55 at file:///E:/h5/project/szfy2.2/bin/libs/laya.debugtool.js:5:14 at file:///E:/h5/project/szfy2.2/bin/libs/laya.debugtool.js:9815:3 ReferenceError: laya is not defined laya.debugtool.js:5 at f...
来源: Laya_社区 发布时间: 20191106
...直接报错: VM125:1 gameThirdScriptError module "libs/laya.wxmini.js" is not defined Error: module "libs/laya.wxmini.js" is not defined at require (http://127.0.0.1:43425/game/__ ... :13569) at http://127.0.0.1:43425/game/__ ... 13424 at http://127.0.0.1:43425/game/game.js:6...
来源: Laya_社区 发布时间: 20180702
...s绘制texture,t.addReference报错,改了laya.core.js之后又报了this.bitmap._getSource() is not a function,改了getsource之后不报错了,但是开放域的东西都没绘制出来,game.json里面设置了开放域的,并且使用laya微信开放域组件能够正常显示,使用2....
来源: Laya_社区 发布时间: 20181109
...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined matter.js的文档查看 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 关於文...
来源: Laya_社区 发布时间: 20180102
...测试例子,然后关闭编辑器,必然触发 index.js:59 WebSocket is already in CLOSING or CLOSED state 这种情况下,本资源不再重试并且卡住(加载回调未执行),目前在编辑器共享给其他人,对方如果是wifi,信号容易抖动,或者对方网络抖...
来源: Laya_社区 发布时间: 20240119
...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined ide 2.4 layaair2-cmd 编译报错 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in ...
来源: Laya_社区 发布时间: 20200831