大约有 166 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(118) Laya3.0_文档(21) Laya2.0_文档(19) Laya2.0_api(4) Laya3.0_api(2) Laya2.0_示例(1) Laya_示例(1)
...,终于找到问题所在,问题出在IIS的 MIME类型上。将json和atlas添加进去,问题就解决了。 希望和我遇到相同问题的朋友少走弯路。 2018-03-09 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你有预加载资源吗?f12看到什么报错了? 2018-0...
来源: Laya_社区 发布时间: 20180308
...建完毕,此方法只执行一次 onAwake(): void { var res: any[] = ["atlas/comp/vscroll.png", "atlas/comp/vscroll$bar.png", "atlas/comp/vscroll$down.png", "atlas/comp/vscroll$up.png", "resources/tree/clip_selectBox.png", "resources/tree/clip_tree_folder.png", "resources/tree/clip_tree_arrow.png...
来源: Laya3.0_文档 发布时间: 20251010
...r.IMAGE }, { url: "ui/BG/load.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }, { url: "res/atlas/ui.atlas", type: Laya.Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded)); Laya.loader.create("ui/BG/play-bg.png", Laya.Handl...
来源: Laya_社区 发布时间: 20181105
...coding:encoding}中readyUrl用的是绝对路径(如http://10.10.10.69/res/atlas.comp.png),而不是相对于项目根目录的相对路径(如res/atlas/comp.png),导致的结果就是在查找缓存文件中有数据时(MiniFileMgr.getFileInfo(url)),部分地方用的绝对路径(MiniImage中)...
来源: Laya_社区 发布时间: 20180207
...ear文件夹及时间轴动画并没有导出,如图1应该要生成bear.atlas,但是只有comp.atlas。请问各位这是为什么呢 附件 : --> demo4.zip 2020-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个...
来源: Laya_社区 发布时间: 20200711
... { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @memberof ResourcesModuleManager */ public static poolModulResDic: La...
来源: Laya_社区 发布时间: 20170905
...:39 @Laya_Aaron:ascii编码? private var assetArr:Array=[{url: "res/atlas/comp.atlas"}, {url: "res/atlas/wxlocal.atlas"}, {url: "res/atlas/middleMoive.atlas"}, {url: "res/atlas/resoutel.atlas"}, {url: "res/atlas/texiaolanse.atlas"}]; 我直接load ...
来源: Laya_社区 发布时间: 20180608
...a - 知识达人 赞同来自: 改下这行代码: Laya.loader.load("res/atlas/Skill/Skill_1001.json",Handler.create(this,onAssetLoaded),null,Laya.Loader.ATLAS); 你没有给资源加载完成的回调,资源的后缀也错了,应该是Loader.ATLAS,你少了一个Loader 多个图集的话...
来源: Laya_社区 发布时间: 20171227
... 肯定对这个图集做了预加载了 var resArray = [ {url:"res/atlas/comp.json", type: Laya.Loader.ATLAS}, {url:"res/atlas/assets.json", type: Laya.Loader.ATLAS} ]; Laya.loader.load(resArray, Laya.Handler.create(null,LoadResComplete)); cuixueying • 2017-03-21 16:15 好的...
来源: Laya_社区 发布时间: 20170317
...: 问题已经找到了,是UI编辑器F12导出的时候打包的大图是atlas后缀格式造成的,而默认例子里面加载的是json格式的: Laya.loader.load("res/atlas/comp.json", Handler.create(this, onAssetLoaded), null, Loader.ATLAS); 所有导致了图集位置错乱,麻烦技术修...
来源: Laya_社区 发布时间: 20171110