大约有 191 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0049 秒)
...例项目 关于发布oppo、vivo快游戏,无法生成Rpk问题 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2019-05-15 08:54 浏览: 1700 关注: 2 人 Laya_Aaron • 2019-05-15 10:20 没明白你要说的是什么情况 1555918138用户 • 2019-05-15 11:47 @...
来源: Laya_社区 发布时间: 20190514
...是与美术事先约定好的。确认层级后可以过getChildAt()、或getChildByName()等方法获取模型后,再获取动画组件。** 还有一种备选方案:在获取动画组件之前,可以打开.ls或.lh查看有动画组件模型的层级关系,再去获取模型与动画组...
来源: Laya2.0_文档 发布时间: 20210715
... storeTxList.vScrollBarSkin = "store/c.png"; let scrollBar = storeTxList.getChildByName('scrollBar'); scrollBar.showButtons = false; let slider = scrollBar.slider; slider.bar.stateNum = 1; let txArray = ; for (let i = 0; i <20; ++i) { let list = new Laya.Sprite(); list.width = 600 ; list.height =...
来源: Laya_社区 发布时间: 20190711
...4f; anim.Play("change_out"); Laya里面我的代码如下 ani = this.scene.getChildByName("cha1").getComponentByType(Laya.Animator); //正常播放动画 ani.play("change_out", 0.2); 请问,有相关API对播放速度单独设置吗? 另外补问一下,Laya的动画融合大约什么时...
来源: Laya_社区 发布时间: 20180612
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getLine hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChil...
来源: Laya3.0_api 发布时间: 20231115
...染吗? Image元件读不了资料流 3D模型无法修改scale? 使用getChildByName()无法得到子节点对象 问题状态 最新活动: 2019-07-17 09:46 浏览: 2550 关注: 2 人 星夜 • 2019-07-17 13:55 1.并非概念不清楚, 同在世界坐标系下的第一层级子节点, 世...
来源: Laya_社区 发布时间: 20190717
...event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getNodeByID getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalTo...
来源: Laya3.0_api 发布时间: 20231115
...l,具有代码提示效果。而script脚本获取只能通过this.owner.getChildByName("xxx") 等方式获取节点** - **建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用runtime继承式写法,如果是独立小模块,功能单一,建议用script脚本...
来源: Laya2.0_文档 发布时间: 20210715
...nt):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件...
来源: Laya2.0_api 发布时间: 20190513
...ographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderCo...
来源: Laya3.0_api 发布时间: 20231115