大约有 220 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0040 秒)
Laya_社区(196) Laya2.0_文档(7) Laya3.0_文档(5) Laya3.0_api(5) Laya2.0_示例(3) laya_api(2) Laya2.0_api(2)
...写的释放有什么问题吗?为什么我的内存没有变化,Laya.loader下面的_infoPoll 没有发生变化, public dispose(): void { this.ani.clear(); Laya.Animation.clearCache(this.resUrl); this.ani = null; Laya.loader.clearRes(this.resUrl, true); } 我单独写了一个例子,这样...
来源: Laya_社区 发布时间: 20170905
...._loadAnimationData方法内释放.ani文件的调用位置不对 如图,Loader.clearRes(url)在没加载完.ani就调用了,应该在Laya.loader.load的的完成回调内调用 附件 : --> 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20181219
... var imgArr = ; imgArr.push({url:"cont/cpf1.jpg",type:Loader.IMAGE}); imgArr.push({url:"cont/cpr1.jpg",type:Loader.IMAGE}); imgArr.push({url:"cont/cps1.jpg",type:Loader.IMAGE}); imgArr.push({url:"cont/cpt1.jpg",type:Loader.IMAGE}); ...
来源: Laya_社区 发布时间: 20160815
...ari横屏下,鼠标点击不正确,且旋转屏幕时显示错位 Laya.loader.create 进度回调函数执行两次 怎么停止正在运行Laya.timer.frameLoop的回调函数 ios接入穿山甲sdk问题 socket收到服务器的数据如何解析成proto对象? 问题状态 最新活动: 2018-...
来源: Laya_社区 发布时间: 20181206
...2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 请问下loader如何强制加载一个文件,避免浏览器的缓存 2.7.1 加载的ttf不生效 位图字体不显示 LayaAir 库文件加载速度慢 laya怎么跨域加载图片 问题状态 最新活动: 2019-05-15 15:21 浏...
来源: Laya_社区 发布时间: 20190515
使用Laya.loader.create加载3d资源,如果出错次数超过最大线程数将无法继续加载资源 使用Laya.loader.create走到Laya3D._loadSprite3DHierarchy时,发现并没有监听"error"事件 如果在http请求资源出错时,则无法通知到外层的LoaderManager 则也无法...
来源: Laya_社区 发布时间: 20170607
LayaAir引擎 Laya.loader.create 加载的中途断网 简直是灾难 Laya.loader.create 加载ls的过程中 断网 简直是灾难 无论如何处理 都无法正确的接着完成。 Laya.loader.clearRes(error, true); 然后在 Laya.loader.clearUnLoaded(); 各种崩溃 在断网的不同阶段...
来源: Laya_社区 发布时间: 20180726
...场景切换的时候 如何把当前场景下的资源销毁掉呢 Laya.loader.clearTextureRes("res/fighter.atlas") 这一步 销毁的是图集所保护的所有资源吗?还是说 需要 把所有用到的小图地址都销毁一遍 比如 Laya.loader.clearTextureRes("res/re1.jpg"); Laya.loader...
来源: Laya_社区 发布时间: 20171122
用Loader加载完atlas,然后使用animation播放问题 this._load = new Laya.Loader() this._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animat...
来源: Laya_社区 发布时间: 20171212
...如何传递原生JS要用到的document.getElementById的ID过去? Laya.loader.create 进度回调函数执行两次 为什么预加载音频之后,再播放还是会重复请求下载呢? 请问下自定义时间怎么获取发送时的参数 如何获取get或者post传递的值? 问题...
来源: Laya_社区 发布时间: 20180304