大约有 32 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0020 秒)
...} if (this.url && this===Laya.loader.getRes(this.url)) Laya.loader.clearRes(this.url); } }增加的代码是 if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // console.log("texture2d destory"); } 2019-06-13 0 0 分享 微博 QZONE 微信 打点酱油 赞同来自: 请问下这...
来源: Laya_社区 发布时间: 20190320
...ader.clearTextureRes(imgName); Laya.loader.clearRes(imgName); } 也会调用Laya.loader.cancelLoadByUrl(imgName);清理掉当前动画一些没有加载完成的图片资源。但是下次再进来播放会导致取出来的不是Texture 而...
来源: Laya_社区 发布时间: 20200417