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

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

811. tiledMap场景切换问题 [ 52%]

...018-06-19 22:50 浏览: 1257 关注: 3 人 Laya_Aaron • 2018-06-20 10:28 destroy() 150*****745 • 2018-06-05 12:06 我用的是Laya.stage.on(Laya.Event.CLICK, this, function (e) {}),请问怎么销毁,销毁以后到下一个页面要重新绑定事件吗? Laya_Aaron • 2018-06-05 14:5...

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

812. laya 2.0 bug 资源在场景销毁之后加载报错 [ 52%]

...离开原来的场景, 这时我肯定是需要做判断当前节点是否destroyed 显然比不让用户离开原来的场景 更合理 你们不能在加载完成之后做个判断吗, 比方这个地方 判断context存不存在;

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

813. 关于对象池Laya.Pool的用法 [ 51%]

...么获取对象的坐标 区块地图增加对象 如何识别此对象被destroy了? Laya.Pool.getItemByClass 找不到上次释放的对象 如何创建一个json对象 问题状态 最新活动: 2016-07-29 19:57 浏览: 6905 关注: 3 人 HummerMan • 2016-08-01 09:14 如果下次想取用具...

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

814. 提交内存泄露的bug demo [ 51%]

...外使用反向遮罩,以及使用颜色filter以及创建Scene3d然后destroy也会产生内存泄露,如果需要,我可以加上demo。 注:demo里面的测试是每帧调用,只是为了放大泄露的效果,不影响真实情况 附件 : --> memoryBugs.rar 2018-12-19 添加评论 ...

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

815. laya.display.Graphics [ 51%]

...d 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics  drawCurves(x:Number, y:Number, points:Array, ...

来源: laya_api 发布时间: 20170929

816. laya.media.SoundNode_API3.0 [ 51%]

...a anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D isMusic loop mask mouseEnabled mouseX mouseY numChildren parent pi...

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

817. laya.map.GridSprite_API3.0 [ 51%]

...rchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY r...

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

818. view和panel关于mouseThrough的区别 [ 51%]

...么? Laya.Handler.create和new Laya.Handler有啥区别 Dialog和View用destroy和Laya.stage.removeChild有什么区别? 求解:2D项目中加载View,Laya.Scene.load应该如何使用? 关于打包图集时的图片默认属性与repeat的区别 dispone和destory的区别 Image和Sprite在...

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

819. Clip组件Bug:Play方法无法结束循环 [ 51%]

....on(Laya.Event.COMPLETE, this, () => {             this.destroy();         });         this.frameIndex = 0;         isLoop ? this.toFrameIndex = -1 : this.toFrameIndex = (cols * rows - 1);         this.play(0, isLoop ? -1 : (cols...

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

820. Label在web和Native上面显示偶尔会有一些不规律的线条!! [ 51%]

...不再使用问题贴图的重用,否则会有内容清理问题   this.destroy();   return; }       static getTextTexture(w: number, h: number): TextTexture {   // 不再回收   return new TextTexture(w, h); } 2020-03-02 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 可以传个...

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