大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0014 秒)
... this.spBg.visible = false; this.aniFly.visible = false; //销毁 Texture 使用的图片资源 Laya.loader.clearTextureRes(PathBg); Laya.loader.clearTextureRes(PathFly); this.isDestroyed = true; this.txt.text = "恢复"; } } } new Loader_ClearTextureRes();namespace leo { import Sprite = laya.displa...
来源: Laya2.0_示例 发布时间: 20260929
....loader.on(Event.ERROR, this, this.onError); } onAssetLoaded(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 onLoading(progress) { console.log("加载进度: " + progress); } onError(err) { console.log("加载失败: " + err); } } new Loader_ProgressAndErrorHandle...
来源: Laya2.0_示例 发布时间: 20260929