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

大约有 43 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)

31. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 65%]

... request.responseType = "arraybuffer";             request.onload = function () {                 if (me._disposed) {                     me._removeLoadEvents();                     return;                 }...

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

32. 感谢你们新版本对loader.create抛出失败异常问题的修改,但是目前碰到一个小问题。。。 [ 64%]

..., 但是文件不存在的话,在http.onerror的流程后面会调用onLoaded(null) 如图:   接着会调用 onAsynLoaded这个函数,里面会认为加载完成,然后去读这个文件的版本是不是LAYAANIMATION:01 ,如图:   但是这个时候data是空的,所以最后会抛...

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

33. unity导出插件报错 [ 64%]

...3.js:15945) at Sprite3D.__proto.onAsynLoaded (laya.d3.js:27847) at ResInfo.onLoaded (laya.core.js:13560) at EventHandler.__proto.runWith (laya.core.js:1170) at ResInfo.__proto.event (laya.core.js:943) 2018-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

34. LayaAir1.7.19.1 Beta预加载资源出问题 [ 64%]

...功了触发了load的endLoad,但其中有两个lmat只触发了load的onLoaded和complete,没触发最后的endLoad,能告诉我为啥么 188*****949 • 2018-07-26 15:49 因为这两个lmat没出发endLoad 所以整个scene算没加载完,这就很蛋疼 Laya_Aaron • 2018-07-26 15:50 这...

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

35. layaair ide 2.0.0 beta2 读取.lh文件报错 [ 63%]

....js:883) at Loader.__proto.complete (laya.core.js:14959) at Loader.__proto.onLoaded (laya.core.js:14927) at EventHandler.__proto.runWith (laya.core.js:1126) at HttpRequest.__proto.event (laya.core.js:883) at HttpRequest.__proto.complete (laya.core.js:14601) at HttpRequest.__proto._onLoad (laya.core....

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

36. 背景音乐来回切换报错 [ 61%]

...b libnativehelper.so 0x0 07-16 13:28:38.832 1760-1760/? D/dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init 07-16 13:28:38.872 1760-1760/? D/dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods 07-16 13:28:38.922 1760-1760/? E/memtra...

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

37. 关于LAYADCC关于热更新问题。真心希望解决!! [ 54%]

...ow.loadConchUrl = loadUrl; //在这里获得需要的地址 //xhr... //xhr.onload=(){ // loadUrl(xhr.responsetext) //} loadUrl(conch.presetUrl || "http://runtime.layabox.com/lay ... 6quot;);//把获取的地址替换到这里即可

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

38. 为什么会出现报错 ani not found:ufo1_down [ 53%]

...集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1; // 设置主角的...

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

39. 请引擎开发人员不要在用这种写法了 [ 52%]

...aya.core.js:1039) at LoaderManager._endLoad (laya.core.js:19366) at Loader.onLoaded (laya.core.js:19335) at EventHandler.runWith (laya.core.js:998) at Loader.event (laya.core.js:1039) at Loader.endLoad (laya.core.js:18943) at Function.checkNext (laya.core.js:18926) at Loader.complete (laya.core.js:1...

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

40. 为什么会出现报错 ani not found:ufo1_down [ 50%]

...集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1; // 设置主角的...

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