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

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

301. 2.2.0 Html使用img标签解析错误 [ 56%]

...后在HTMLImageElement的reset方法里加了一行:this._tex.off(Laya.Event.READY, this, this.onloaded); 其他没区别 133*****831 • 2019-10-29 14:10 嗯,升级2.3.0版本,Unity3D也要升级2018.4了,看样子无解了,直接升级了

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

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

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

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

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

304. 微信小游戏运行导出项目的时候报错: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

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

306. 引擎中的修改意见 [ 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

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

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

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

308. 加载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

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

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