大约有 2,782 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0060 秒)
Laya_社区(2462) Laya2.0_文档(107) Laya3.0_文档(59) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
...ya.core.js:711) at ResInfo.__proto.event (laya.core.js:483) at LoaderManager.__proto._endLoad (laya.core.js:13152) at Loader.onLoaded (laya.core.js:13128) at EventHandler.__proto.runWith (laya.core.js:711) at Loader.__proto.event (laya.core.js:483) 在粒子中加了...
来源: Laya_社区 发布时间: 20190520
...p=Sprite3D&name=Sprite3DClone)) ```typescript { ...... //加载模型 Laya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, this.onComplete)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/three...
来源: Laya2.0_文档 发布时间: 20210714
...理信息,如果没有返回你就用默认图片。 方案三:先用loader去加载图片,然后用loader.getRes获取资源,如果获取的资源是空的你也可以用默认资源! 2017-02-28 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20170228
...加载资源 例如var resarray = [ {"url":"res/atlas/common.json","type":Loader.ATLAS}, ]; Laya.loader.load(resarray, Handler.create(this, this.preloadLoaded), Handler.create(this, this.onProgress,null,false)); 这个时候这个资源是通过app本地加载还是网上加载的? 2.dcc 有之前...
来源: Laya_社区 发布时间: 20161204
...布文件夹预览,使用真机调试,安卓运行正常,IOS在Laya.loader.create 3D场景文件的时候加载lani出错,出现thirdScriptError undefined;at api readFile success callback function undefined 并且确认是加载ls场景文件,里面人物动画的lani文件出现的错误...
来源: Laya_社区 发布时间: 20191120
...画,如何在程序启动前就将该swf放入资源加载序列?Laya.Loader所支持的资源类型里找不到对应的选项。请大神予以指点,谢谢! 2016-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20161101
...加载的时候都会重新加载图片 我用的语言是JS来写,用Laya.loader.load进行预加载,放数组url路径,在progress哪里做一个加载完成进度事件,其他参数默认原有的配置,甚至修改缓存为true ,强制加载为false,但是仍然没有效果 每次都...
来源: Laya_社区 发布时间: 20170217
...个是我在unity导出一个文件,然后layabox中加载场景。 Laya.loader.create(this.strScene, Laya.Handler.create(this, this.onLoadScene)); private onLoadScene() { var scene: Laya.Scene = Laya.Scene.load(this.strScene); if (scene == null) { return; } this.mScene = scene; 大致的流程...
来源: Laya_社区 发布时间: 20180418
...ins.push("../../res/ui/vslider.png", "../../res/ui/vslider$bar.png"); Laya.loader.load(skins, Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { placeHSlider(); placeVSlider(); } function placeHSlider() { var hs = new HSlider(); hs.skin = "../../res/ui/hslider.png"; hs.width = ...
来源: Laya_示例 发布时间: 20251219
...public/test/img/food/f8.png", "/public/test/img/food/f9.png", ]; Laya.loader.load(urls, Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false), Loader.TEXT); 这个样能加载。 但是 var roleAni = new Laya.Animation(); roleAni.loadImages(); roleAni.play();...
来源: Laya_社区 发布时间: 20170718