大约有 583 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
...型资源释放 请问怎么把骨骼动画的资源释放干净? 我用destroy的话,模型是会销毁,但是内存没有减少,而且再加上用下面方法把.lh的路迳传过去,内存也还是没有改变 role.destroy(); role = null; assetsDispose(url) /**释放资源**/ private fu...
来源: Laya_社区 发布时间: 20170904
...就是tween加了个延时。但是如果延时时间还没到就把对象destroy了,被destroy的对象仍会执行tween并因_style为null而报错。 引擎的错误位置在laya.core.js的8614行,版本1.6.0。 这个this应改为target。 附件 : --> LayaTest.rar 2017-02-24 添加评论 ...
来源: Laya_社区 发布时间: 20170224
...s, onClear); } private function onClear():void { _s.graphics.clear(); _s.destroy(true); _s.removeSelf(); _s=null; console.log(Laya.loader.getRes(_url)); Loader.clearRes(_url,true); console.log(Laya.loader.getRes(_url)); } 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170222
...RGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroyed emissionColor emissionIntensity emissionTexture enableEmission gpuMemory id materialRenderMode materialType normalTexture normalTextureScale obsolute occlusionTexture occlusionTextureStrength parallaxTexture paralla...
来源: Laya3.0_api 发布时间: 20231102
...否有配到代码下载? 关於文档丶API丶Demo若有异动 節點的destroy方法參數默認為true時是否會遞歸調用子對象的destroy方法? 社区、文档、API的全文搜索功能不太好用 问题状态 最新活动: 2020-08-14 15:51 浏览: 281 关注: 1 人
来源: Laya_社区 发布时间: 20200814
...重新开始的。但是获取脚本的时候,告诉已经移除了,用destroy移除物体的话,脚本的update会报错,找不到物体,新添加的脚本接着移除的脚本运行 2018-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180912
...,使用大括号可以指定组件的任意属性进行赋值。 Label destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[re...
来源: Laya2.0_api 发布时间: 20190513
...用大括号可以指定组件的任意属性进行赋值。 ProgressBar destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[re...
来源: Laya2.0_api 发布时间: 20190513
...); chrome 调试: addChild(node) { if (!node || this.destroyed || node === this) return node; if (node._zOrder) this._setBit(Const.HAS_ZORDER, true); if (node._parent === this) { ...
来源: Laya_社区 发布时间: 20191203
...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显...
来源: Laya2.0_api 发布时间: 20190513