大约有 427 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
...t[i].x = i%3*190; _heroItemList[i].y = parseInt((i/3).toString()) * 155; } console.debug("创建的实例的数量::"+_heroItemList.length); } private function onSelectedHeroChange():void { _curSelectedHeroId = []; _curSelectedHeroProp = []; console.debug("当前保存的实例::"+_heroItemList); } ...
来源: Laya_社区 发布时间: 20170321
...o了,直接浏览器控制台输入 Laya.loader.load("aa").then(res=>{console.log("success",res)}).catch(res=>{console.log("fail",res)}) 期望返回失败 实际返回成功 附件 : --> 2023-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20230904
...nd= Laya.Pool.getItemByClass("mybg",BackGround); Laya.stage.addChild(bg1); console.log("bg1->",bg1); //对象放回Pool里,并清除对象 Laya.Pool.recover("mybg",BackGround); bg1.removeSelf(); Laya.stage.removeChild(bg1); console.log("bg1->",bg1); //再次从Pool里获取对象的时候,...
来源: Laya_社区 发布时间: 20180823
... for(var i = 0; i < this.numChildren; i++) { console.log(this.numChildren); var item = this.getChildAt(i); if(item instanceof Item) { item.removeSelf(); item.visible = true; ...
来源: Laya_社区 发布时间: 20170113
... 0, loginUI.bbbar.height) Game.timer.loop("progress", this, function() { //console.log("loginUI.bar.value = ", loginUI.bar.value); loginUI.bbbar.viewport.width = loginUI.bbbar.viewport.width + 0.2 //console.log("loginUI.bbbar.viewport.width = ", loginUI.bbbar.viewport.width); }, 1000, 100); 2017-09-...
来源: Laya_社区 发布时间: 20170913
...wake不同的是即使节点未激活onAdded也会调用 onAdded(): void { console.log("Game onAdded"); } //重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用。如果没有重置,则不进行回收复用 onReset(...
来源: Laya3.0_文档 发布时间: 20251010
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2017-11-02 15:17 浏览: 768 关注: 2 人
来源: Laya_社区 发布时间: 20171102
...rom previous GL command 02-05 16:53:07.013 24700-24700/? I/chromium: [INFO:CONSOLE(0)] "[.Offscreen-For-WebGL-0x7c8dec00]GL ERROR :0x0505 : glTexImage2D: <- error from previous GL command", source: http://xx.xxx.xxxx.pk/xn/x/.............html (0) 02-05 16:53:07.825 24700-24824/? E/chromium: [ERRO...
来源: Laya_社区 发布时间: 20180205
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 创建动效模板 可能存在bug 如何识别当前环境是微信小游戏环境 问题状态 最新活动: 2019-10-03 16:55 浏览: 765 关注: 1 人
来源: Laya_社区 发布时间: 20191003
... files.length; i++) { let fileUrl = files; console.log("加载文件测试", i, fileUrl); MiniFileMgr.readFile(fileUrl, "utf8", Laya.Handler.create(this, function() { console.log("加载文件测试1", i, fileUrl); ...
来源: Laya_社区 发布时间: 20200111