大约有 302 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
Laya3.0_api(80) Laya2.0_api(74) laya_api(68) Laya_社区(30) Laya2.0_文档(24) Laya3.0_文档(16) Laya2.0_示例(6) Laya_示例(4)
...reshLoading.bottom = 10; this.refreshLoading.visible = false; this.baseBox.addChild(this.refreshLoading); // 加载动画 this.loadingAni = new Animation(); this.loadingAni.loadAnimation("res/ui/refreshList/ani/Refresh.ani"); this.loadingAni.pos(27, 36); this.loadingAni.autoPlay = true; this.refresh...
来源: Laya2.0_示例 发布时间: 20260106
...参考滚动支持 一、 管理列表内容 运行时,可以直接通过addChild/removeChild等API修改列表的孩子。但在实际应用中,列表的内容通常被频繁的更新。典型的用法就是当接收到后台数据时,将列表清空,然后再重新添加所有项目。如...
来源: Laya3.0_文档 发布时间: 20251128
...BOX类 list.vScrollBarSkin =""; Laya.stage.addChild(list); list.array =this.arr; list.renderHandler =new Laya.Handler(this,this.updateItem); this.listArr.push(list); //----------------------------------------------------...
来源: Laya_社区 发布时间: 20190522
...下面来熟悉一下Node类的所有基础的功能 添加 添加子节点addChild(node:Node) 在不考虑层级的情况下,我们可以给某个节点添加子节点,可让子节点跟随父节点显示与否,移动,以及方便管理。添加的子节点会加到所有子节点的最后...
来源: Laya3.0_文档 发布时间: 20251010
...dth >> 1, Laya.stage.height -bg.height >> 1); //加载到舞台 Laya.stage.addChild(bg); } /***创建计数器切片***/ private function createCounter():void { //实例化计数器切片 counter = new Clip(clipSkin, 10, 1); //自动播放 counter.autoPlay = true; //播放间隔时间1秒 counter.in...
来源: Laya2.0_文档 发布时间: 20210714
...iyangyang_2.sk"); // skeleton.play(0,true);//播放不了别的 this.owner.addChild(skeleton); skeleton.pos(500,500); 哪里写的有问题 大佬看看 2019-06-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复...
来源: Laya_社区 发布时间: 20190618
...2Array = null) 创建一个新的 AnimationNode 实例。 AnimationNode addChild(child:AnimationNode):void 添加子节点。 AnimationNode clone():* 克隆。 AnimationNode cloneTo(destObject:*):void 克隆。 AnimationNode getChildByIndex(index:int):AnimationNode 根据索引获取子...
来源: Laya2.0_api 发布时间: 20190513
...e Implements IClone Index Constructors constructor Properties name Methods addChild clone cloneTo getChildByIndex getChildByName getChildCount removeChild Constructors constructor new AnimationNode(): AnimationNode Defined in laya/d3/animation/AnimationNode.ts:22 创建一个新的 AnimationNode 实...
来源: Laya3.0_api 发布时间: 20231102
...ction omTemLoaded():void { mArmature=mFactory.buildArmature(0); Laya.stage.addChild(mArmature); Laya.stage.on(Event.CLICK,this,onClick); mArmature.play(0,false);//设置初始位置 mArmature.index=this.index; mArmature.pos(500,500) } private function onClick():void { mArmature.play("stand",true);//...
来源: Laya_社区 发布时间: 20170509
... { const Animation = Laya.Animation; let ani = new Animation(); Laya.stage.addChild(ani); ani.loadAtlas(aniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信...
来源: Laya2.0_示例 发布时间: 20260106