大约有 345 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
Laya_社区(272) Laya2.0_文档(21) Laya2.0_示例(10) Laya_示例(9) Laya3.0_文档(9) laya_api(8) Laya3.0_api(8) Laya2.0_api(8)
... onLoading, null, false), null, 1, true, sGameMark, false); Laya.loader.on(Event.ERROR, this, onError); 预加载资源添加了完成 进度 和失败监听 在手机上有时加载进度会卡在某个数值不动 不会触发加载失败 也不触发加载完成 请问有没有什么方法可...
来源: Laya_社区 发布时间: 20161228
...ing progress : " + pro); }, null, false), Laya.Scene); Laya.loader.on(Event.ERROR, this, function (err) { if (debug) console.log("Loading error : " + err); }); } return LayaAir3D; } ()); LayaAir3D(); Monica • 2018-03-21 11:39 我这边写的例子正常 jinfawu • 2018-03-21 12:41 ...
来源: Laya_社区 发布时间: 20180321
...t ResInfo.onLoaded (http://127.0.0.1:59022/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:59022/game/code.js:711:59) at ResInfo.__proto.event (http://127.0.0.1:59022/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:59022/game/code.j...
来源: Laya_社区 发布时间: 20180317
...oader.create 加载.lh文件,如果文件不存在,也不会收到Laya.Event.Error事件 demibug • 2017-07-11 21:35 请看一下https://ask.layabox.com/question/5614 还是这个问题,你给的这个例子只是loader.load侦听失败吧,create好像是有BUG
来源: Laya_社区 发布时间: 20170705
...}else if(a.length == 1){ lang(a[0]); }else { lang(""); } isChanged = true; event(Event.CHANGE); } }public function lang(text:String, args:Array = null):void { text = langPacks && langPacks[text] ? langPacks[text] : text; if (!args || args.length <= 0) { this._text = text; } else { for (va...
来源: Laya_社区 发布时间: 20180820
...本: /** * 更新。 * @param {string} url zip下载地址 * @param {(event:string,downloadPercent:number,curfile:string)=>boolean} onEvent 事件的回调。 * 事件名称: * 'downloading' 下载中,这时候downloadPercent有值 * 'downloadError' 下载错误 * 'downloadOK' 下载成...
来源: Laya_社区 发布时间: 20180108
....load("res/h5/LayaScene_Effect/Effect.lh")) as Laya.Sprite3D; this.lz.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); }); 之前是按照ls导出的不回调,你们在线技术说场景只能用相机操作。我现在改成了Sprite3D ,lh文件 依旧不回调 ...
来源: Laya_社区 发布时间: 20180327
...Verify that all layout Begin/End calls match UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not dest...
来源: Laya_社区 发布时间: 20240111
...ndefined TypeError: Cannot read property 'firstInit' of undefined at EventDispatcher.SharedIFrameUIViewerScene._initRenderAfterComplete (file:///Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/layabuilder.max.js:29683:48) at EventHandler.__proto.run (file:///...
来源: Laya_社区 发布时间: 20181130
...现 SOCKET.input里面的缓存会越变越大,但只会触发一次Laya.Event.MESSAGE事件,而且msg是只有最近发送的数据,这就导致了SOCKET.input多于的数据将无法获取,而SOCKET.input却会越来越大 附件 : --> 2017-12-14 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20171214