大约有 1,268 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1207) Laya2.0_文档(21) Laya3.0_文档(15) Laya2.0_示例(8) Laya_示例(8) Laya3.0_api(5) laya_api(2) Laya2.0_api(2)
...esInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:65353/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:...
来源: Laya_社区 发布时间: 20180228
...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
...加载资源 例如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
...源加载成功后,通过回调方法绘制图片并添加到舞台 Laya.loader.load(this.Res,Laya.Handler.create(this,this.graphicsImg)); } private graphicsImg():void{ this.img = new Laya.Sprite(); //获取图片资源,绘制到画布 this.img.graphics.drawTexture(Laya.loader.getRes(this.Res),1...
来源: Laya2.0_文档 发布时间: 20210715
...击显示为22M,以此类推。 而 代码中的区别仅仅是 Laya.loader.clearRes(this.szurl,true); //1.0 Laya.loader.clearRes(this.szurl);//2.0 现在附完整代码,劳驾帮看下是不是我2.0版本的有什么问题。最后也附上有代码的截图,laya社区帖子编辑模式...
来源: Laya_社区 发布时间: 20181201
...个是我在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
...个回复 岁寒心 赞同来自: 发现了,不是加载不了,是Laya.loader.load()这个返回时,还没有加载成功。。。所以在他的回调中,不能播放 2020-04-20 0 1 分享 微博 QZONE 微信 176*****020 赞同来自: 解决了没 2020-07-11 0 0 分享 微博 QZONE 微信 L...
来源: Laya_社区 发布时间: 20200420
...r引擎 子容器的事件问题 // 程序入口 Laya.init(800, 800); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); let vhvt: Vi...
来源: Laya_社区 发布时间: 20170822
...请: 与内容相关的链接 提交 2 个回复 Yangcy 赞同来自: Laya.loader.load("abc.json", Handler.create(this, onAssetLoadedSound), Handler.create(this, progressHandler), Loader.SOUND); 第一次加载出来: [list=none] [*]0: {column: "0", duration: "0", mode: "点", time: "30...
来源: Laya_社区 发布时间: 20181122
...载速度慢 小游戏项目 加载有中文的json文件 报错 请问下loader如何强制加载一个文件,避免浏览器的缓存 本地调试加载本地图片都报错 模型资源释放问题 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 Animation ...
来源: Laya_社区 发布时间: 20190515