• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 633 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)

191. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 70%]

...te initCode() { var div: any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div, { width: 100, height: 100 }); var url: string = this.URL; this.qrcode.makeCode(url); Laya.stage.once("click", this, this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya...

来源: Laya_社区 发布时间: 20180412

192. 代码无法编译 [ 70%]

...法编译了  也没看到那里出错 这个是什么原因 报错 The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten   附件 : --> 2020-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

来源: Laya_社区 发布时间: 20200703

193. 屏幕截屏问题 [ 70%]

...r.js:5719: TypeError: image is not a function                    this._nativeObj = new image();                                      ^            TypeError: image is not a function                at new HTMLImageElement (apploader.js:5719:27)          ...

来源: Laya_社区 发布时间: 20180227

194. changeText报错 [ 70%]

...ABOX做的练习小游戏http://iuhigi.cn/ 赞同来自: 你用console.log(this.serverOwn)看一下输出什么 2018-01-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 minj 相关问题 【带附件】 使用Laya2.0.0beta5.1 发布官...

来源: Laya_社区 发布时间: 20180123

195. js报错Could not find object with given id [ 70%]

...var并根据这个var添加点击事件 事件无法执行,控制台用this.var值输出对应图片,先是打印undifined 然后就报Could not find object with given id 求解什么原因 2017-04-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

来源: Laya_社区 发布时间: 20170406

196. Laya api 中可能的bug [官方来看] [ 70%]

...order时是调整不到的__proto.render=function(context,x,y){ var childs=this._childs; this._childs=this._showGridList; _super.prototype.render.call(this,context,x,y); this._childs=childs; }2.core中Sprite的zorder的set方法中 有一行代码有疑似bug,麻烦官方帮忙确认 /**z排序,...

来源: Laya_社区 发布时间: 20180412

197. 提示类已存在 [ 70%]

提示类已存在 Error!,this class[xxxxx] already exist: function xxxxx(){ … } 检查了文件,没有发现重复 改类名为aaaaa Error!,this class[aaaaa] already exist: function aaaaa(){ … } 问题已经存在 不知道问题出在哪里 2017-05-31 添加评论 免费帖 --> 分享 微博 ...

来源: Laya_社区 发布时间: 20170531

198. Laya3D init error,must support webGL [ 70%]

...方式:在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready")这行上面加一行: this.app.commandLine.appendSwitch("ignore-gpu-blacklist"); 保存,重启IDE再试试(我试过是可以的 ) 2019-04-13 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 ...

来源: Laya_社区 发布时间: 20190218

199. 引擎示例中的错误 [ 70%]

...Form 1、constructor里的最后一行: Laya.stage.on(Laya.Event.RESIZE, this, this.fitDOMElements, [emailInput, birthdayInput, passwordInput]); 当stage调整尺寸时,对3个input位置进行调整,当初次运行时,3个input框排在网页左上角,必须手动改变一下浏览器大...

来源: Laya_社区 发布时间: 20221205

200. 3d克隆报错,Uncaught AnimatorControllerLayer:this stat's name has exist. [ 70%]

3d克隆报错,Uncaught AnimatorControllerLayer:this stat's name has exist. 我在3d模型动画里面,分割了动画片段。当我克隆的时候,就会报错。说我那个动画片段名称已存在。 附件 : --> 2020-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

来源: Laya_社区 发布时间: 20200520