大约有 208 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
...子,以及是否能走 5.所谓的页面跳转,就是addchild(scene1),removeChild(scene1)的组合 2018-04-26 2 2 分享 微博 QZONE 微信 rabbit 赞同来自: 楼上的是大神~ 刚入门,别做联网的,登录可以暂时放弃,这需要登录要和服务器配合。 20...
来源: Laya_社区 发布时间: 20180426
...; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } })(); 这个例子 是不是说明 粒子有内存泄漏? 我不断new Particle2D 100ms后销毁该实例 我也调用了sp.desotry(true) 内存还是飙升 ==...
来源: Laya_社区 发布时间: 20170103
... else { node._parent && node._parent.removeChild(node); this._children === Node.ARRAY_EMPTY && (this._children = []); this._children.push(node); node._setParent(this); //在此处...
来源: Laya_社区 发布时间: 20191203
...troy onDisable onEnable onOpened once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY set_transfo...
来源: Laya3.0_api 发布时间: 20231115
...到舞台后 此方法为虚方法,使用时重写覆盖即可 Node removeChild(node:Node):Node 删除子节点。 Node removeChildAt(index:int):Node 根据子节点索引位置,删除对应的子节点对象。 Node removeChildByName(name:String):Node 根据子节点名字删除对应...
来源: Laya2.0_api 发布时间: 20190513
...请教 现在不同场景都是继承的Sprite,原来是通过addChild和removeChild直接管控不同场景的显示和隐藏的,但是发现发布到手机后FPS会瞬间掉到个位数,然后再恢复到原来一样。今天想到能否使用visible直接控制显示隐藏,发现这样做...
来源: Laya_社区 发布时间: 20170307
...le once parentRepaint pivot pos reCache recaculateCullCamera releaseRender removeChild removeChildAt removeChildByName removeChildren removeSelf renderSubmit repaint replaceChild runCallLater scale setChildIndex setGlobalShaderValue setGraphics setSelfBounds set_anchorX set_anchorY set_height set_sc...
来源: Laya3.0_api 发布时间: 20231115
...troy onDisable onEnable onOpened once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_dataSource set_height set_scaleX set_sca...
来源: Laya3.0_api 发布时间: 20231115
...属性)。 Node removeAllComponent():void 移除全部组件。 Sprite3D removeChild(node:Node):Node 删除子节点。 Node removeChildAt(index:int):Node[override] 根据子节点索引位置,删除对应的子节点对象。 Sprite3D removeChildByName(name:String):Node 根据子节点名字...
来源: laya_api 发布时间: 20170929
...nDisable onEnable onOpened once open parentRepaint pivot popup pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_dataSource set_height set_scaleX set_sca...
来源: Laya3.0_api 发布时间: 20231115