大约有 2,661 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0073 秒)
Laya_社区(2342) Laya2.0_文档(106) Laya3.0_文档(59) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
...es/ui/input (2).png", "res/ui/input (3).png", "res/ui/input (4).png"] Laya.loader.load(skins, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { for (let i = 0, len = skins.length; i ; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alig...
来源: Laya2.0_示例 发布时间: 20251219
... lvfy 赞同来自: 例如: var resArray = [{url:"test.png", type:Laya.Loader.IMAGE}]; Laya.loader.load(resArray, Laya.Handler.create(this, function(){ //处理添加背景 })); 2017-10-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20171013
... 2 人 asdf131 • 2017-09-05 16:34 这样的话是不是所有用到 Laya.loader的话 ,如果error 都往这里来了 cuixueying • 2017-09-06 17:11 你也可以loadAtals后,对laya.loader.load进行error监听!
来源: Laya_社区 发布时间: 20170905
...00631用户 赞同来自: //加载IDE指定的场景 Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){ this.astcconfig = Laya.loader.getRes("minastc.config.json"); for(var key in this.astcconfig...
来源: Laya_社区 发布时间: 20221013
...加载fnt动态字体报错 chrome下没问题,加载的时候就是Laya.loader.load的方式加载,请问有没有什么解决办法,IDE是1.7.7beta 附件 : --> 2017-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170731
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["../../res/ui/progressBar.png", "../../res/ui/progressBar$bar.png"], Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { progressBar = new ProgressBar("../../res/ui/progressBar.png"); progres...
来源: Laya_示例 发布时间: 20251219
...的api~ Dialog关闭时如何向open他的页面传值? 请问laya.net.Loader和laya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 构造函数不能进断点 Laya.loader.create 进度回调函数执行两次 怎么停止正在运行...
来源: Laya_社区 发布时间: 20170308
... EffectAnimation Bug laya 2.0 bug onEnable 分离模式节点没有创建 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug image loadimage 加载网络图片BUG 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug 问...
来源: Laya_社区 发布时间: 20180310
...nction main():void { _guideImage = new Image(); _guideImage.source = Loader.getRes("source/png/ui/1/guideImg.png"); tweenGuide1(_guideImage ); Tween.clearAll(_guideImage); _guideImage.destroy(true); _guideImage.dispose(); _guideImage = null; } public function tweenGui...
来源: Laya_社区 发布时间: 20161216
...ate.part [error]Failed to load: res/rotate.part 我的代码: Laya.loader.load("res/rotate.part", Handler.create(this, this.onAssetsLoaded),null,Laya.Loader.JSON); 我再bin/res/rotate.part是存在的 2018-02-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180211