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

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

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. Laya.loader.load("", Laya.Handler.create(this, this.console)); [ 98%]

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

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

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

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

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

4. 使用 loader.create 预加载模型后。必须要在回调 Laya.Event.HIERARCHY_LOADED 中获取子元素吗?预加载是预加载的什么部分? [ 94%]

使用 loader.create 预加载模型后。必须要在回调 Laya.Event.HIERARCHY_LOADED 中获取子元素吗?预加载是预加载的什么部分? 使用 loader.create 预加载模型后。必须要在回调 Laya.Event.HIERARCHY_LOADED 中获取子元素吗? 预加载是预加载的什么...

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

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

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

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

6. Laya.loader.create失败 [ 92%]

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

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

7. Laya.loader Progress回调形同虚设 [ 92%]

Laya.loader Progress回调形同虚设 private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load([ "res/1.png", "res/2.png", "res/3.png", "res/4.png", "res/5.png", "res/6.png", "res/7.png" ], Handler.create(this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.lo...

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

8. Laya.loader.create 加载的中途断网 简直是灾难 [ 90%]

LayaAir引擎 Laya.loader.create 加载的中途断网 简直是灾难 Laya.loader.create 加载ls的过程中 断网 简直是灾难 无论如何处理 都无法正确的接着完成。 Laya.loader.clearRes(error, true); 然后在 Laya.loader.clearUnLoaded(); 各种崩溃 在断网的不同阶段...

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

9. IOs使用手动删除本地资源再次进去加载问题 [ 90%]

...es_array = [         {url : "res/atlas/loading.atlas", type : Laya.Loader.ATLAS},         {url : "res/atlas/person.atlas", type : Laya.Loader.ATLAS},         {url : "loading/progress.png", type : Laya.Loader.IMAGE},         {url : "loading/progress$bar.png", type : La...

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

10. loader.create加载某个文件,当这个文件不存在的时候,需要怎样监听事件呢? [ 89%]

loader.create加载某个文件,当这个文件不存在的时候,需要怎样监听事件呢? 当加载的文件不存在时会有 Failed to load resource: net::ERR_FILE_NOT_FOUND   这样的LOG,但是代码上要怎样监听这个事件呢?好像没有异常抛出来。 2017-07-05 添...

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