• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 345 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)

301. 有没有Loader预加载 相关的注意事项或者文档 在手机上问题有点多 [ 56%]

... onLoading, null, false), null, 1, true, sGameMark, false); Laya.loader.on(Event.ERROR, this, onError); 预加载资源添加了完成 进度 和失败监听  在手机上有时加载进度会卡在某个数值不动 不会触发加载失败 也不触发加载完成  请问有没有什么方法可...

来源: Laya_社区 发布时间: 20161228

302. Laya.loader.create中的progress回调好像不准确? [ 56%]

...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

303. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 55%]

...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

304. loader.create加载某个文件,当这个文件不存在的时候,需要怎样监听事件呢? [ 55%]

...oader.create 加载.lh文件,如果文件不存在,也不会收到Laya.Event.Error事件 demibug • 2017-07-11 21:35 请看一下https://ask.layabox.com/question/5614 还是这个问题,你给的这个例子只是loader.load侦听失败吧,create好像是有BUG

来源: Laya_社区 发布时间: 20170705

305. 引擎中的修改意见 [ 55%]

...}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

306. zip更新模式缓存是怎么读取的?? [ 55%]

...本:   /** * 更新。 * @param {string} url zip下载地址 * @param {(event:string,downloadPercent:number,curfile:string)=>boolean} onEvent 事件的回调。 * 事件名称: * 'downloading' 下载中,这时候downloadPercent有值 * 'downloadError' 下载错误 * 'downloadOK' 下载成...

来源: Laya_社区 发布时间: 20180108

307. 加载U3D导出的LH格式粒子特效,加载完成不回调 [ 55%]

....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

308. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 54%]

...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

309. LayaAirIDE 2.0beta5打开编辑模式出错 [ 54%]

...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

310. 为什么SOCKET接收数据BYTE内存会越来越大 [ 54%]

...现 SOCKET.input里面的缓存会越变越大,但只会触发一次Laya.Event.MESSAGE事件,而且msg是只有最近发送的数据,这就导致了SOCKET.input多于的数据将无法获取,而SOCKET.input却会越来越大 附件 : --> 2017-12-14 添加评论 免费帖 --> 分享 微博 QZ...

来源: Laya_社区 发布时间: 20171214