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

大约有 583 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0134 秒)

351. 多次加载一个页面出现_$P为null的情况 [ 68%]

...o(data.desk.deskNo); StorageHelper.setDeskSeat(data.ownSeatNo); Laya.stage.destroyChildren(); var playSence = new OnlinePlaySence(data); Laya.stage.addChild(playSence); },function(data){ console.log('加入游戏失败'); alert('加入游戏失败'); GameUnitls.showToast(data); }); }else{ alert('金...

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

352. 在Canvas模式下 drawTexture出错 [ 68%]

...GL模式下正常 Canvas模式下 在短时间内连续调用drawTexture和destroy会报错 Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasEleme...

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

353. 使用Image的时候,资源引用计数一直增加,导致清理不掉 [ 67%]

...3 个回复 layabox小高 赞同来自: 想要彻底释放要用clearRes,destroy不能完全的销毁资源,因为考虑到后续可能还会有别的地方引用资源。 2023-08-16 0 1 分享 微博 QZONE 微信 1560480692用户 赞同来自: 你是2.1的版本 2023-08-29 0 1 分享 微博 QZO...

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

354. 3D粒子 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...; }; //彻底销毁清理一个粒子特效对象 Clean(): void { if (this.destroyed) { return; } this.Recover(); if (this._particle && !this._particle.destroyed) { this._particle.removeSelf(); this._particle.destroy(true); this._particle = null; } this._shuriKenParticle3D = null; this._shur...

来源: Laya3.0_文档 发布时间: 20251010

355. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 67%]

...; }; //彻底销毁清理一个粒子特效对象 Clean(): void { if (this.destroyed) { return; } this.Recover(); if (this._particle && !this._particle.destroyed) { this._particle.removeSelf(); this._particle.destroy(true); this._particle = null; } this._shuriKenParticle3D = null; this._shur...

来源: Laya3.0_文档 发布时间: 20250104

356. laya.d3.component.Script3D [ 67%]

...ed Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component  isSingleton : Boolean[override] [read-on...

来源: Laya2.0_api 发布时间: 20190513

357. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 67%]

...lo.disconnect();         }         /** 销毁*/         public destroy(): void {             this.close();             this.pomelo = null;             if(this.mDecorate)this.mDecorate.destroy();             this.mDecorate = null;         }     }   /** socke...

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

358. 内存统计错误 [ 67%]

...resetData方法中统计CPU,GPU错误,应该先统计内存_addMemory 再destroy的,官方大大核实一下 附件 : --> 2020-11-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 陆仁毅 赞同来自: 感...

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

359. loading界面实现图片预加载后,创建Sprite执行loadImage出错 [ 67%]

...            a、Laya.stage.removeChild            b、Loading.destroy            c、loading.visible = false; 5、出现错误现象:       Sprite无法创建,console给出的错误提示为:       Uncaught TypeError: tex.once is not a function          at Graphic...

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

360. laya.d3.core.ParticleRender [ 67%]

...值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRender destroyed : Boolean[read-only] 获取是否已销毁。 BaseRender enable : Boolean 获取是否可用。 BaseRender lightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照...

来源: laya_api 发布时间: 20170603