大约有 610 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(75) Laya2.0_文档(39) Laya3.0_文档(12) Laya2.0_示例(5) Laya_示例(4)
...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...
来源: Laya2.0_api 发布时间: 20190513
...t); } function onSelect(index) { console.log("当前选择的标签页索引为:" + index);); this.Tab_ZM.on(Event.CLICK,this,onDaoju(index)); } 想请问下,这样添加,我上面点击事件只执行一次,就连打印出onSelect里的东西也只有一次? cuixueying • 2017-...
来源: Laya_社区 发布时间: 20170516
...ddChildAt(child:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Panel addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNod...
来源: Laya2.0_api 发布时间: 20190513
... function onRender(cell,index){ //如果索引不再可索引范围,则终止该函数 if(index > json.length)return; //获取当前渲染条目的数据 var data = json[index]; ...
来源: Laya_社区 发布时间: 20180717
...ber): AnimationNode Defined in laya/d3/animation/AnimationNode.ts:68 根据索引获取子节点。 Parameters index: number 索引。 Returns AnimationNode getChildByName getChildByName(name: string): AnimationNode | null Defined in laya/d3/animation/AnimationNode.ts:55 根据名字获取子节点...
来源: Laya3.0_api 发布时间: 20231102
...2个参数,一个是事件类型,一个是当前你所点击列表的索引值。根据索引值即可判断你点击的是哪一条列表,并根据该索引写下你想要执行的所有代码逻辑。 示例如下package view { import flash.events.MouseEvent; import game.ui.other.ListViewUI;...
来源: Laya_社区 发布时间: 20151224
...yIndex(index: number): MapLayer Defined in laya/map/TiledMap.ts:1395 通过索引得MapLayer Parameters index: number 要找的层索引 Returns MapLayer getLayerByName getLayerByName(layerName: string): MapLayer Defined in laya/map/TiledMap.ts:1379 得到指定的MapLayer Parameters layerName: stri...
来源: Laya3.0_api 发布时间: 20231115
...y:Number, value:int):void 更新颜色Alpha帧。 Parameters index:int — 索引。 key:Number — 生命周期,范围为0到1。 value:int — Alpha值。 updateColorRGB()method public function updateColorRGB(index:int, key:Number, value:Color):void 更新颜色RGB帧。 Parameters index:i...
来源: Laya2.0_api 发布时间: 20190513
....addChildAt Defined in laya/display/Node.ts:264 添加子节点到指定的索引位置。 Parameters node: Node 节点对象。 index: number 索引位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/N...
来源: Laya3.0_api 发布时间: 20231115
...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...
来源: Laya2.0_api 发布时间: 20190513