大约有 480 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)
Laya_社区(215) Laya3.0_api(91) laya_api(83) Laya2.0_api(77) Laya2.0_文档(6) Laya3.0_文档(5) Laya2.0_示例(3)
...关的链接 提交 1 个回复 bpmf_d 赞同来自: 可以手动 直接.destroy 就可以了 也可以Laya.Resource.destroyUnusedResources(); 销毁当前没有被使用的资源 2019-05-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20190421
...xt = '' + this.count; } else { Laya.timer.clear(this,this.countdown); this.destroy(true); } }这是一个继承自laya.ui.Dialog的对象,设置this.zOrder = 100;导致numChildren异常,关闭时报错。 开发者往往并不能确定确切的zOrder值,可能预设一个较大的值,如果...
来源: Laya_社区 发布时间: 20171012
...这个~~ MissingReferenceException: The object of type 'Mesh' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Object.get_name () (at C:/buildslave/unity/build/Runtime/Export/Scripting/UnityEng...
来源: Laya_社区 发布时间: 20201218
...onstructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate...
来源: Laya3.0_api 发布时间: 20231115
...lo.disconnect(); } /** 销毁*/ public destroy(): void { this.close(); this.pomelo = null; if(this.mDecorate)this.mDecorate.destroy(); this.mDecorate = null; } } /** socke...
来源: Laya_社区 发布时间: 20161109
....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
...ed Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] ...
来源: laya_api 发布时间: 20170929
... attachBones : Vector.<String>挂点骨骼的名称。AttachPoint destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[read-only] 获取是否为...
来源: laya_api 发布时间: 20170929
...ite(); sp.texture = res; Laya.stage.addChild(sp); setTimeout(() => { sp.destroy() }, 1000); });重现代码如上,代码很简单。 下面是打印了Laya.Resource._idResourcesMap的截图 工程见附件,也很简单就是官方的2d Demo加了上面的代码 附件 : --> LayaProject2...
来源: Laya_社区 发布时间: 20231130
...; }; //彻底销毁清理一个粒子特效对象 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