大约有 1,090 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)
Laya_社区(1044) Laya2.0_文档(18) Laya3.0_文档(14) Laya3.0_api(5) Laya2.0_示例(3) laya_api(2) Laya_示例(2) Laya2.0_api(2)
...ang + "/shz_nav.png"。。。。。。。】 用这个进行预加载 Laya.loader.load(images, null, Laya.Handler.create(this, onImagesProgress, null, false), Laya.Loader.IMAGE); 但是每次进入都会重新慢慢在加载一次 声音也是一样 2017-02-16 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20170216
...y convention, only resource files in the level-1 directory are loaded Laya.loader.create([{ url: "xx.zip", type:"ZIP"}]) [/size][/code] 如果只需要加载zip包中的部分资源,或者资源路径在多级目录下。可以在constructParams中进行配置,来加载指定文件资源。[size...
来源: Laya_社区 发布时间: 20211227
...JS 如: var atlas:Object[] = [{ url: "res/atlas/choujiang.js", type: Loader.TEXT }, { url: "res/atlas/choujiang.json", type: Loader.ATLAS }, ]; Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this...
来源: Laya_社区 发布时间: 20180511
...形式加载。或者传入地址数组。即可加载多个模型 Laya.loader.create([ {url:"资源目录/模型名字.lm"}, {url:"同上.lm"}, {url:"同上"}, {url:"同上"} ],Handler.create(this,onLoaded)); 2018-05-28 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 白夜行 Animat...
来源: Laya_社区 发布时间: 20180528
...取文件的话,你不用发送请求就可以,你可以直接用Laya.loader.load("http://192.168.1.21:90/Game_Config.xml",Handler.create(this,onLoadered)); public function onLoadered(data:*):void { trace("data:" + data); } 来完成文件的加载,在文件加载完会返回xml的内容信...
来源: Laya_社区 发布时间: 20161120
...加载的时候都会重新加载图片 我用的语言是JS来写,用Laya.loader.load进行预加载,放数组url路径,在progress哪里做一个加载完成进度事件,其他参数默认原有的配置,甚至修改缓存为true ,强制加载为false,但是仍然没有效果 每次都...
来源: Laya_社区 发布时间: 20170217
...布文件夹预览,使用真机调试,安卓运行正常,IOS在Laya.loader.create 3D场景文件的时候加载lani出错,出现thirdScriptError undefined;at api readFile success callback function undefined 并且确认是加载ls场景文件,里面人物动画的lani文件出现的错误...
来源: Laya_社区 发布时间: 20191120
...增。 【问题如下】: 问题1:clearRes释放资源之后,Laya.loader.load重新加载同一个资源为什么GPUMemory会不停的增加? 问题2:Laya.loader.clearRes之后,GPUMemory为什么不降低,如果clearRes不会释放内存,那这个接口的作用是什么? 【Demo...
来源: Laya_社区 发布时间: 20190307
...omp.atlas?version=1.0.0", type: Loader.ATLAS };Laya.loader.load(obj); 引擎自动加载的png地址是res/atlas/comp.png, 而不是res/atlas/comp.png?version=1.0.0 这个能不能解决(一个项目加载另一个项...
来源: Laya_社区 发布时间: 20180427
...ist=[this]; var data; data=Loader.getRes(this['_url']); if (!data){ this.event(/*laya.events.Event.ERROR*/"error","file not find"); return; ...
来源: Laya_社区 发布时间: 20180615