大约有 33 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...用纹理压缩,但是项目启动后还是加载PNG,项目中 Laya.URL.basePath 已经设置好远程资源地址,除了图片资源加载不到以外,其他JSON,ls,lh都正常,ktx格式纹理资源在构建发布的时候正常发布,目录中有,也放在远程地址上了.不清楚是不是少...
来源: Laya_社区 发布时间: 20250925
...empStr = Laya.URL.rootPath != "" ? Laya.URL.rootPath : Laya.URL._basePath; if (tempStr != "") url = url.split(tempStr)[1]; } } } this.url = url; this.readyUrl = url; if (MiniSound._audioCache[this.readyUrl]) { this.event(Laya.Event.COMPLETE); return; } if (MiniAdpter.autoCacheFil...
来源: Laya_社区 发布时间: 20200103
...tp头 }else { var tempStr:String = URL.rootPath != "" ? URL.rootPath : URL.basePath; if(tempStr != "") url = url.split(tempStr)[1];//去掉http头 } } } this.url = url; this.readyUrl = url; if (_audioCache[this.readyUrl]) { event(Event.COMPLETE); return; } var fileObj:Object = MiniFileMgr.getFileInf...
来源: Laya_社区 发布时间: 20180503
.../ldc.layabox.com/doc/?nav=zh-as-5-0-4 看一下这个,load之后再用 basepath 2018-08-10 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 也许灬 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版...
来源: Laya_社区 发布时间: 20180730
...rectory:String = (this._data.meta && this._data.meta.prefix) ? URL.basePath + this._data.meta.prefix : this._url.substring(0, this._url.lastIndexOf(".")) + "/"; var url:String = directory + name; loadedMap[url] = Texture.create(tPic, obj.frame.x, obj.frame.y, obj.frame.w, obj.frame.h, obj.sp...
来源: Laya_社区 发布时间: 20160610
.../ldc.layabox.com/doc/?nav=zh-as-5-0-4 看一下这个,load之后再用 basepath 2018-08-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 也许灬 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版...
来源: Laya_社区 发布时间: 20180803
...Immediately lock name skeletonData url uuid DEBUG RuntimeVersion Accessors basePath cpuMemory destroyed gpuMemory id ns obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _parse _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getAniNameByIndex ...
来源: Laya3.0_api 发布时间: 20231115
...是我要把访问资源的路径的基础路径改成cdn的路径,URL.basePath 改了,发现在访问资源的时候还是会把当前网页的地址加到最前面 2017-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170829
...面了,, 然后游戏初始化设置了Laya.URL.rootPath = Laya.URL.basePath=ftp地址 然后去加载wxlocal里面的资源, Laya.loader.load(arr, Handler.create(this, this.onLoadComplete),Handler.create(this, this.onLoading, null, false)); 发现并没有去加载这个资源,加断...
来源: Laya_社区 发布时间: 20180714
...到了腾讯云上,也设置了域名信息 Laya.URL.rootPath = Laya.URL.basePath = "https://lg-f6ejft4c-1256468286 ... 3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.ATLAS }); asset.push({ ...
来源: Laya_社区 发布时间: 20180517