大约有 583 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)
...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
...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
...3 个回复 layabox小高 赞同来自: 想要彻底释放要用clearRes,destroy不能完全的销毁资源,因为考虑到后续可能还会有别的地方引用资源。 2023-08-16 0 1 分享 微博 QZONE 微信 1560480692用户 赞同来自: 你是2.1的版本 2023-08-29 0 1 分享 微博 QZO...
来源: Laya_社区 发布时间: 20230816
...; }; //彻底销毁清理一个粒子特效对象 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
...; }; //彻底销毁清理一个粒子特效对象 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
...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
...lo.disconnect(); } /** 销毁*/ public destroy(): void { this.close(); this.pomelo = null; if(this.mDecorate)this.mDecorate.destroy(); this.mDecorate = null; } } /** socke...
来源: Laya_社区 发布时间: 20161109
...resetData方法中统计CPU,GPU错误,应该先统计内存_addMemory 再destroy的,官方大大核实一下 附件 : --> 2020-11-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 陆仁毅 赞同来自: 感...
来源: Laya_社区 发布时间: 20201114
... 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
...值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRender destroyed : Boolean[read-only] 获取是否已销毁。 BaseRender enable : Boolean 获取是否可用。 BaseRender lightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照...
来源: laya_api 发布时间: 20170603