• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 262 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

21. Skeleton动画在自然停止时不会移除play时添加的frameloop [ 70%]

...到结束时不会移除。 这样造成了添加了该Skeleton的场景在removeSelf脱离stage后,依然会因为有被一个不能被释放的Skeleton当作parent来引用而不能作实例释放,而导致内存泄漏 2016-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

来源: Laya_社区 发布时间: 20161205

22. 同步龙骨插槽动画方案 [ 70%]

...vent.COMPLETE, this, this.parseComplete);         this.mArmature.removeSelf();//从显示列表移除龙骨动画本身         this.mArmature.removeChildren();//从显示列表移除龙骨动画子对象         if (!this.mArmature.destroyed) {             th...

来源: Laya_社区 发布时间: 20200618

23. 分享:IDE使用SWF动画的销毁与反复创建 [ 69%]

...();             testView.destroy();             testView.removeSelf();             //destroy的时候movieclip把小图都清掉了,但是movieclip不知道你是用图集加载的,图集缓存文件还在,但是图集里的小图已经没有了             ...

来源: Laya_社区 发布时间: 20170608

24. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 69%]

...          tarItem = null;             this.camera.removeSelf();             this.camera.destroy(true);             this.camera = null;              this.scene.destroy();             Laya.Scene.gc();         })); 以...

来源: Laya_社区 发布时间: 20191102

25. Image使用疑问 [ 69%]

...降到了24左右,再接着玩还会降到16   主要代码为 _minMap.removeSelf(); _minMap.loadImage("smallmap/" + _mapID + ".jpg", 0, 0, mapWidth, mapHeight); _container.addChild(_minMap);   其中 mapWidth =1600 mapHeight = 1900   难道引擎底层再替换前没有做销毁吗     2018-...

来源: Laya_社区 发布时间: 20180913

26. dialog 自定义关闭效果,效果执行完,弹窗无法关闭 [ 68%]

... 赞同来自: gls_laybox 移除遮罩层:Laya.Dialog.manager.maskLayer.removeSelf(); (之后遇到类似问题的话可以先看下引擎源码中是怎么实现的) 2017-08-09 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: gls_laybox 不清楚你的具体操作,最好有个例子...

来源: Laya_社区 发布时间: 20170809

27. 如何完全删除精灵 并回收内存 [ 68%]

...l.recover('Container', container) Laya.stage.addChild(container) container.removeSelf() } laya.utils.Pool.clearBySign('Text') laya.utils.Pool.clearBySign('Container') container = null }, 100)可以结贴了 2018-08-01 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: destroy(true) 2018-07-28 0...

来源: Laya_社区 发布时间: 20180728

28. laya.d3.core.Sprite3D_API3.0 [ 68%]

...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Sprite3D(name?: string, isStatic?: boolean): Sprite3D Overrides Node.constructor Defined in laya/d3/core/Spr...

来源: Laya3.0_api 发布时间: 20231115

29. 有没有更好的获取子节点的方式(有没有一个可以代替 HIERARCHY_LOADED 的事件)? [ 66%]

...个节点并清楚资源,为什么要用这个接口? 用removeChild或removeSelf这些,只从场景树下删除节点不好吗? 如果使用了预加载,为什么还需要监听这些事件?有什么特殊需求吗? 2017-06-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

来源: Laya_社区 发布时间: 20170619

30. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 66%]

...emoveChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ReflectionProbe(): ReflectionProbe Overrides Sprite3D.constructor Defined in laya/d3/core/reflectionProbe/Re...

来源: Laya3.0_api 发布时间: 20231102