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

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

51. 启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 [ 78%]

启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 启用版本管理后,文件都带了hash, var resArray = [ {url: "res/atlas/common.atlas", type: Laya.Loader.ATLAS}, {url: "hall/1_login/login_bg.png", type: Laya.Loader.IMAGE}, {url: "hall/1_login/Bott...

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

52. ios11, TimeLine在锁屏的情况下complete和label回调没有触发 [ 77%]

...载完后回调 怎么获取当前触发鼠标点击的某个物体 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 加载图片回调参数问题 问题状态 最新活动: 2017-10-24 16:10 浏览: 779 关注: 2 人

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

53. laya.net.LoaderManager_API3.0 [ 77%]

...lic/Protected All Inherited Externals Only exported Menu Globals "laya/net/LoaderManager" LoaderManager Class LoaderManager LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPL...

来源: Laya3.0_api 发布时间: 20231102

54. 加载问题,已经解决,有遇到加载问题的可以看看 [ 77%]

加载问题,已经解决,有遇到加载问题的可以看看 Laya.loader.create(res, Laya.Handler.create(this, function(obj){ this.loadFinish(obj,res); })); Laya2.3.0 微信小游戏 如果在create回调里面再去Laya.loader.create,有的手机有概率就是加载失败,平均10000人...

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

55. Animation 下的Event.COMPLETE 回调 [ 76%]

...问题 骨骼动画播放完后的回调时间 ios原生回调问题 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 加载图片回调参数问题 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个...

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

56. Laya.Loader.getRes请教 [ 76%]

UI相关问题 Laya.Loader.getRes请教 Laya.loader.load("res/atlas/games/game_13/image.atlas", Handler.create(this, this.createView)); 在createView回调里面调用 let tex: Texture = Laya.Loader.getRes("image/shake_01.png"); 想拿图集中的某一张图片。发现拿不到这张图片。 但...

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

57. handler携带的参数在回调函数里面怎么获取? [ 76%]

...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load("res/atlas/war/hero.atlas", Handler.create(this, this.onLoad), null, Loader.ATLAS); 什么意思,, 2018-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

58. 请问怎么监听在IDE中创建的UI中资源的加载进度呢 [ 76%]

...的加载进度呢 我在IDE中创建了整个游戏界面,然后通过loader去加载界面的配置文件:Laya.loader.load(['res/atlas/game.json'],Laya.Handler.create(this,Slot.onSourcesLoaded), Laya.Handler.create(this,Slot.onSourcesLoading,null,false),Laya.Loader.ATLAS);这样写似乎监听...

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

59. 显示与切换图片(ActionScript-LayaAir基础篇(AS3)-位图) [ 76%]

...可以找到drawTexture()方法,除此之外,还需要了解laya.net.LoaderManager中的load()方法和getRes()方法,以及laya.utils.Handler中的create()方法,各方法的参数图3、图4、图5、图6所示: ![图3](img/3.png) (图3) ![图4](img/4.png) (图4) ![图2](img/5.png) (图5...

来源: Laya2.0_文档 发布时间: 20210715

60. laya.net.LoaderManager [ 76%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...

来源: Laya2.0_api 发布时间: 20190513