大约有 1,547 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0060 秒)
...(data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'post' || method === 'put') { body = JSON.stringify(data); } else { let query = ""; let first = true;...
来源: Laya_社区 发布时间: 20170123
...k.graphics.drawCircle(0, 0, 100, "0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { Laya.Resource.destroyUnusedResources(); }); } 当触发了释放资源的函数,会报错如下: laya.webgl.js:5713 Uncaught TypeError: Cannot read prop...
来源: Laya_社区 发布时间: 20181016
...一段测试代码来证明。 var i; i++; console.log(i);此时控制台输出:NaN 对!没错!就是NaN,不要怀疑是自己电脑有问题。要相信科学! 2020-03-28 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 引擎版本是新的吗?这...
来源: Laya_社区 发布时间: 20200206
... } private onError():void { console.log("load spine error"); } private parseComplete():void { this.m_loadedUrlArr.push(this.m_curLoadingUrl); this.buildAmature(); } ...
来源: Laya_社区 发布时间: 20170801
... this.progressBar.value += 0.05; } private onChange(value: number): void { console.log("进度:" + Math.floor(value * 100) + "%"); } } } new laya.UI_ProgressBar(); ```
来源: Laya2.0_文档 发布时间: 20210715
...英文输入法不会 private onInput(ipt: Laya.TextInput) { console.log("这里会调用三次"); } 2017-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 cuixueying 赞同来自: input的触发次...
来源: Laya_社区 发布时间: 20170515
... QZONE 微信 177*****621 赞同来自: onStart() { console.log("Game start"); Laya.Config.isAlpha = true; Laya.stage.bgColor ="none"; this.Show(); } private iframe: any = Laya.Browser.document.cr...
来源: Laya_社区 发布时间: 20240304
...vent.CLICK, this, this.click); Laya.stage.addChild(bt); function click() { console.log("??????????"); } 点击之后没有翻译,按钮也没有点击的动画 cuixueying • 2017-04-24 11:07 我们测试是OK的,你的button的skin有提前预加载吗,可以提供一个重现问题...
来源: Laya_社区 发布时间: 20170421
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 问题状态 最新活动: 2017-09-19 18:29 浏览: 918 关注: 2 人
来源: Laya_社区 发布时间: 20170912
...ddChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { console.log("当前进度:", progress) },null,false), Laya.Scene );07-11 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runtime_require, location: /home/game/jenkins/workspace/SafeBuild/XGame/instant-game-c...
来源: Laya_社区 发布时间: 20190711