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

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

171. 用微信小游戏测试,载入一个3D的角色.lh报错了,LayaAir的本地测试OK [ 84%]

...LayaAir的本地测试OK WAGame.js:3 gameThirdScriptError Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. 2018-01-15 添...

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

172. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 83%]

..., assetsid.txt下载成功, 并且对比assetsid不一致, 继续下载filetable.bin 再往下走执行bundle后加载的第一个文件就是 version.json, 此时并未按照dcc更新的规则去下载新的文件, 而是直接从缓存里读取了旧文件 是我姿势不对?   补充一个细...

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

173. 用flashbuilder调试,图片资源显示不出来 [ 83%]

...aurora_99 赞同来自: 在flashbuilder的运行参数里面加了 --allow-file-access-from-files --allow-file-access-frome-files --disable-web-security 也不行呢? LayaAir用chrome怎么就没事呢? 2018-03-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...

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

174. laya3.0中jszip使用异常 [ 82%]

..../node_modules/jszip/dist/jszip"使用代码为: let zipUrl = "resources/files/config.zip";         Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then(             (value) => {                 JSZip....

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

175. laya接入fairyGUI的时候资源加载方式? [ 82%]

... loadData: Array<any> = [ { url: resKey + "." + fgui.UIConfig.packageFileExtension, type: Laya.Loader.BUFFER } ] Laya.loader.load(loadData, Laya.Handler.create(this, this.onLoadPackageComplete, [resKey, otherLoadData, complete, progress])); } private onLoadPackageComplete(resKey: string, other...

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

176. 官方视频教程中飞机大战 "this.addChild is not a function" [ 82%]

...te);报错 "TypeError: this.addChild is not a function    at BackGround (file:///D:/test/laya/myLaya/src/BackGround.js:6:14)    at Game (file:///D:/test/laya/myLaya/src/Game.js:6:19)    at file:///D:/test/laya/myLaya/src/Game.js:8:7    at file:///D:/test/laya/myLaya/src/Game.js:9:3"   2018-...

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

177. 添加或修改物理ChainCollider属性points时,报错 [ 82%]

...); } 静观 • 2018-11-29 14:37 报错内容: at Object.box2d.b2Assert (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:38:57) at box2d.b2ChainShape.CreateChain (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:348:98) at ChainCollider.__proto._setShape (file:///E:/De...

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

178. unity导出的ls和lh文件发布到微信小程序,用微信开发者工具打开报错 [ 81%]

...微信开发者工具(v1.02.1802080)里报错,错误为"Scene: the .lh file root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." 跟了一下,发现__proto.onAsynLoaded这个functi...

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

179. ts项目加载version.json失败 [ 81%]

...() { Laya.init(1280,760); Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.beginLoad)); } private beginLoad(): void { console.debug("aaaaaaaaaaaaaaaaa"); var img = new Laya.Sprite(); img.loadImage("res/test....

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

180. laya2.0引入第三方库失败 [ 81%]

...t find module '../../libs/pb2' from 'E:\myLaya2D\src\script' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43...

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