大约有 249 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0033 秒)
...rent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents has...
来源: Laya3.0_api 发布时间: 20231115
...始正常后来把 Laya.stage.addChild(Gamesce.gameFig); 改为Laya.stage.addChildAt(Gamesce.gameFig,1); 报这个错误,再改为Laya.stage.addChild(Gamesce.gameFig); 游戏一直报Error: Layer value can be null.,游戏崩了。。。。。 有大神知道是什么原因吗,跪谢 2018-11-...
来源: Laya_社区 发布时间: 20181102
...两者中间有什么问题吗 关于代码打印调试的一些问题 mj.addChildAt(arr[i],i) mj是我的父节点 arr[i] 是我的子节点,为什么我打印出来是undefined 为什么我的小游戏在调试时总是弹出打印网页的界面覆盖在浏览器最顶端 我在UI界面设置...
来源: Laya_社区 发布时间: 20180110
...的元素。 Node addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer....
来源: laya_api 发布时间: 20170929
...hildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFl...
来源: Laya3.0_api 发布时间: 20231115
...onsole.log(self.foodBox); Laya.stage.addChild(self.foodBox); // Laya.stage.addChildAt(foodBox,self); self.foodBox = self.fooddata; console.log(self.foodBox); 2018-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20181220
...区域字体是灰色的,叠加在上面变成白色 Laya.Scene.root.addChildAt(this.simpleTips, Laya.Scene.root.numChildren - 1); 附件 : --> 2025-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 lay...
来源: Laya_社区 发布时间: 20250612
...ent.HomeScaleFilterImg(3, 655, "home/imgExpedition.png", 0); this._sprHome.addChildAt(this.imgExpedition, 0); this.homeScaleFilterImgList.push(this.imgExpedition); Laya.timer.once(2000, this, () => { let dd: Laya.HitArea = new Laya.HitArea(); this.imgExpedition.hitArea = dd; dd.hit.drawRect(1...
来源: Laya_社区 发布时间: 20180507
...更新)原因很可能是因为child被释放了,但是在addChild和addChildAt的入口添加加入的子级是否被释放的判断后,这个报错还是有可能出现。 该报错在项目中偶现且触发条件不明。 请问这是不当使用导致的,还是一个BUG呢?有没有...
来源: Laya_社区 发布时间: 20180201
...邀请: 与内容相关的链接 提交 1 个回复 tudouhu 赞同来自: addChildAt 2018-11-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Sunnywizards 相关问题 请问LayaAir中如何使图片以圆形的方式显示? 安装lay...
来源: Laya_社区 发布时间: 20181124