大约有 335 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0063 秒)
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getDialogsByGroup(group:String):Array[static] 根据组获...
来源: Laya2.0_api 发布时间: 20190513
...ny[], sprite: Sprite, componentType: typeof Component) { let comp = sprite.getComponent(componentType); if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件...
来源: Laya3.0_文档 发布时间: 20250214
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...
来源: Laya3.0_api 发布时间: 20231115
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle[override]...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle[overrid...
来源: Laya2.0_api 发布时间: 20190513
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此...
来源: Laya2.0_api 发布时间: 20190513
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...
来源: Laya3.0_api 发布时间: 20231115