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

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

21. Laya.Handler.create 回调 在魅族平台不触发 [ 87%]

Laya.Handler.create 回调 在魅族平台不触发 Laya.loader.create(res2[i], Laya.Handler.create(this, () => { console.log('触发回调') } 2020-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...

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

22. Laya.loader.load 加载时长10秒,的progress 回调只会调用一次,0.2就再也不会被调用到了。为什么啊 [ 86%]

Laya.loader.load 加载时长10秒,的progress 回调只会调用一次,0.2就再也不会被调用到了。为什么啊 这个查了下,好像确实不能获取到加载进度。能不能用websocket或其它的方法来模拟。因为是合并后的图集,用文件个数来统计没啥卵...

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

23. Laya.loader.create究竟在什么特定情况下会加载失败? [ 85%]

Laya.loader.create究竟在什么特定情况下会加载失败? Laya.loader.create究竟在什么特定情况下会加载失败?不要怀疑资源路径有效性,肯定有效,只是偶尔会加载失败,所以搞不懂到底什么导致加载失败。 附件 : --> 2018-07-27 添加评论...

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

24. 在加载多个资源的时候,加载进度异常 [ 84%]

在加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"],   Laya.Handler.create(this, function(){ }),  Laya.Handler.create(this, function(e){    c...

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

25. 使用Laya.loader.create加载3d资源,如果出错次数超过最大线程数将无法继续加载资源 [ 84%]

使用Laya.loader.create加载3d资源,如果出错次数超过最大线程数将无法继续加载资源 使用Laya.loader.create走到Laya3D._loadSprite3DHierarchy时,发现并没有监听"error"事件 如果在http请求资源出错时,则无法通知到外层的LoaderManager 则也无法...

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

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

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

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

27. 【BUG】加载的url中有错误url时,laya偶现加载complete不回调 [ 84%]

... { url: this.zombie_anim_path4 }, { url: this.zombie_anim_path5 }, ]; Laya.loader.retryNum = 0; Laya.loader.create(res3DArr, Laya.Handler.create(this, this.onRes3DLoaded), null);   结论:onLoad时checkNext触发endLoad,会重置customParse属性,onError的时候没有触发这个逻辑,导...

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

28. 关于Laya.loader.load和getRes的问题 [ 83%]

关于Laya.loader.load和getRes的问题 我正在阅读这个示例:https://layaair.ldc.layabox.co ... Image  以下是原文的代码,也是我疑问的地方:// 方法2:使用drawTexture Laya.loader.load("../../../../res/apes/monkey2.png", Handler.create(this, function():void { var t:Te...

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

29. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 83%]

ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null   附Demo。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityP...

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

30. tween 的 update 怎么是回调一次!!! [ 83%]

...有变化,怎么回事啊? 网络send 不回调?什么情况? Laya.loader.create 进度回调函数执行两次 本人想做个批量加载json文件,然后等这些文件统一加载完后回调 http 请求 once 的 回调参数,如何传递和接收? Laya.Handler.create 加载图片...

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