大约有 80 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
api readFile success callback function undefined 2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 读取文件加载成功的回调函数为定义 2018-07-25 0 3 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180725
使用drawPath路径报错 在使用graphics.drawPath的过程中,出现Cannot read property '_drawPath' of null,如下图:不清楚错误原因在哪里 附件 : --> 2017-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20171105
陀螺仪和加速计使用问题 官网陀螺仪和加速计例子中的上面两句运行时都报 Cannot read property 'instance' of undefined 的错误 2018-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回...
来源: Laya_社区 发布时间: 20180509
关于HttpRequest报错问题 var xmlHttp = new Laya.HttpRequest(); xmlHttp.open("POST", url, true); xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xml...
来源: Laya_社区 发布时间: 20180202
Pool 使用 Laya.Prefab public targetBox:Laya.Prefab; let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("ItemBox", this._control.targetBox.create, this._control.targetBox); 运行报错: Cannot read property 'create' of undefined targetBox又在 control里面引用一个Prefab 2019-08-26 添加...
来源: Laya_社区 发布时间: 20190826
as 截图报错 Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'. 附件 : --> 2019-04-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 ...
来源: Laya_社区 发布时间: 20190413
求助,切换到后台过一会再从后台切换回来报错 TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. at EventEmitter.<anonymous> (D:\laya\LayaAirIDE_beta\resources\electron.asar\renderer\window-setup.js:176:16) at emitTwo (events.j...
来源: Laya_社区 发布时间: 20180309
laya2.0TS版本debugpanel报错 刚下了个2.0,想弄出debug面板,但是不成功。index里导入了debugtool.js 然后文档里写了Laya.DebugPanel.init(); 编译报错 TypeScript error: src/start.ts(6,14): Error TS2339: Property 'DebugPanel' does not exist on type 'typeof Laya'. 表示...
来源: Laya_社区 发布时间: 20181106
import Event = laya.events.Event; 报错 import Event = laya.events.Event; 报错 file: 'file:///e%3A/Web/GameA/client/src/GameMain.ts' severity: '错误' message: 'Import declaration conflicts with local declaration of 'Event'' at: '5,1' source: 'ts' 项目中没有其他地方写这个import, 但...
来源: Laya_社区 发布时间: 20180522
在Laya中使用Matter.js的最简示例 (JS) Laya默认使用matter.js作为物理引擎,但示例还是有些复杂;所以,添加这个帖子,作为Matter.js的get start的Laya版本 在Laya中使用Matter需要在index.html的“<!--jsfile--startTag-->”标签前面添加下面的...
来源: Laya_社区 发布时间: 20170905