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

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

1. Laya.loader.createLaya.loader.load能混合用? [ 100%]

Laya.loader.createLaya.loader.load能混合用? 如果3d是用Laya.loader.create 2d用的是Laya.loader.load那么问题来了 我有点懵逼,3d里面不也有2d资源么。那我究竟是用create还是load。如果分开。。oncomplete时候不得再做一层判断? 2019-01-29 添加...

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

2. 你们这个API描述错乱了(Laya.loader.create())!!! [ 98%]

你们这个API描述错乱了(Laya.loader.create())!!! 你们这个API描述错乱了(Laya.loader.create()):https://layaair.ldc.layabox.com/api/?category=Core&class=laya.net.LoaderManager#create()     附件 : --> 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

3. Laya.loader.create失败 [ 97%]

Laya.loader.create失败 官方加载说明底部预加载说明:https://ldc2.layabox.com/doc/?nav=zh-ts-4-3-1    上面的例子Scene.load()方法是资源的异步加载,有时候3D的资源比较大,需要预加载来来提升首屏的体验。这时候我们可以用加载器预加载...

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

4. Laya.loader.load("", Laya.Handler.create(this, this.console)); [ 97%]

Laya.loader.load("", Laya.Handler.create(this, this.console)); 为什么会打印两次 附件 : --> 2018-12-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 加载两次 2019-05-11 0 0 ...

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

5. Laya.loader.createLaya.loader.load 这两个有什么区别呢 [ 97%]

Laya.loader.createLaya.loader.load 这两个有什么区别呢 现在有3d资源和纹理资源还有font资源和json,需要做预加载请问改怎么处理呢。 目前看3d网格和lh等需要用Laya.loader.create,font和json只能用Laya.loader.load?不能统一处理? 2017-05-18 ...

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

6. Laya.loader.create 加载进度问题 [ 96%]

Laya.loader.create 加载进度问题 我用Laya.loader.create加载.lh模型, function ModelManager() { Laya.loader.create("res/Pipe/Pipe/a.lh", Laya.Handler.create(this, this.onCreateComplete()),Laya.Handler.create(this, this.onAssetsLoading)); } ModelManager.prototype.onCreateComplete = functi...

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

7. Laya.loader.create问题 [ 96%]

Laya.loader.create问题 使用Laya.loader.create方法加载了png图片 之后使用new Laya.Image(url),并添加到舞台,发现场景整个是黑的,未发现图片,而如果没使用Laya.loader.create,而直接new Laya.Image(url)的话,就会出现图片,这是为啥? 2017-05-1...

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

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

Laya.loader.create中的progress回调好像不准确? 如图,我加载二十多M的资源(大概二三十个文件),进度回调只有一次,是不是这个回调有问题?   附件 : --> 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

9. Laya.loader.create加载资源不完整 [ 96%]

Laya.loader.create加载资源不完整 使用Laya.loader.create预加载3D资源,偶尔会出现加不完整现象,查看loadMap发现并没有加载完成(loadMap中只有动画文件),但是还是执行了create的回调函数,也没有抛出ERROR事件。 2019-06-20 添加评论 免...

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

10. Laya.loader.create 进度回调函数执行两次 [ 95%]

Laya.loader.create 进度回调函数执行两次 Laya.loader.create(["Main/SMain.ls","Role/Role.lh"],Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%");...

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