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

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

241. Uncaught TypeError: Cannot read property 'props' of undefined [ 68%]

...Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15290)     at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15384)     at EventHandler.__proto.runWith (laya.core.js:1156)     at Loader.__proto.event (laya.core.js:911)     at Loader.__proto.complete (laya.core.js:14555)     at L...

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

242. 粒子图片错误 [ 68%]

粒子图片错误 Laya.loader.load("res/yan.part", Laya.Handler.create(this, this.onAssetsLoaded), null, Laya.Loader.JSON); var yan = new Laya.Particle2D(settings); yan.emitter.start(); yan.play(); this.particlesPos.addChild(yan);   编辑器里面设置是对的 但是在网页上运行,图片...

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

243. 资源加载,提示不识别路径 [ 68%]

资源加载,提示不识别路径 //加载3D资源 Laya.loader.create([{url:"LayaScene_Demo/Demo.ls","type":Laya.Scene}, {url:"LayaScene_Scene/Scene.ls","type":Laya.Scene}, {url:"LayaScene_People/People.lh","type":Laya.Sprite3D}], Laya.Handler.create(this,this.on3DComplete)); 报错提示 messag...

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

244. 小游戏内 个别手机出现图片花了 像马赛克一样的东西,很多图片不显示 [ 68%]

...dData = [ { "url": 'res/atlas/main.atlas', "type":Laya.loader.ATLAS }, { "url": 'res/atlas/newUser.atlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas&q...

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

245. 不存在的资源路径问题 [ 68%]

...,导致这个问题是因为没有资源也调用了加载完成, Laya.loader.on(Laya.Event.ERROR, this, this.onLibError); Laya.loader.load([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 thi...

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

246. 2.2.0 bata3版本,new Laya.Particle2D 报错 [ 68%]

...本,在IDE中新建粒子,然后在游戏中创建就会报错Laya.loader.load("xxx.part", Laya.Handler.create(this, (settings: Laya.ParticleSetting) => { let particle = new Laya.Particle2D(settings); }), null, Laya.Loader.JSON); 附件 : --> 2019-08-13 添加评论 免费帖 --> 分享 ...

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

247. 怎么改变资源的基础路径 [ 68%]

...ya的dcc资源更新吗? 网络资源的帧动画如何做? 调用Laya.loader.load()方法加载资源,怎么获取所加载的资源大小. 多application打包laya获取资源失败导致闪退 问题状态 最新活动: 2017-08-29 12:08 浏览: 739 关注: 2 人 yonghua5416 • 2017-08-29 1...

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

248. Scene.load加载的时候无法正确的识别ResourceVersion [ 68%]

...n图集加载问题 请问下加载TFF字体要怎么加载呢? 请问下loader如何强制加载一个文件,避免浏览器的缓存 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 laya3D动画无法播放 unity到导出场景加载...

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

249. cdn资源加载 [ 68%]

...的加载看一下 rgxianzhan • 2017-12-06 10:19 使用的加载方式是loader.load Monica • 2017-12-06 19:34 @rgxianzhan:你看下是否跨域了吧 rgxianzhan • 2017-12-07 18:57 @Monica:并不会报跨域,反而会报404。但是网页中确实可以打开

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

250. worker如何使用 [ 68%]

worker如何使用 Laya.WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, () => { alert("onLoaded!"); }), null, Laya.Loader.ATLAS, 1, true, null, false...

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