大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
...n(srcName: string,caller: any){ Laya.loader.load("res/" + srcName,new Laya.Handler(caller,function(arg: any){ if(arg){ RES.groups = arg.groups; RES.resources = arg.resources; RES.getInstance().event(RES.ONLOADEDRESJSON,arg); }else{ RES.getInstance().event(RES.ONLOADERRORRESJSON,arg); } })) } /** * g...
来源: Laya_社区 发布时间: 20161011
...ar; import laya.ui.ScrollBar; import laya.ui.VScrollBar; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ScrollBar { /***垂直滚动条资源**/ private var skins:Array=["../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png"...
来源: Laya2.0_文档 发布时间: 20210715
...ar; import laya.ui.ScrollBar; import laya.ui.VScrollBar; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ScrollBar { /***水平滚动条资源**/ private var skins:Array=["../../../../res/ui/hscroll.png", "../../../../res/ui/hscroll$bar.png", "../../../../res/ui/hscroll$down.png"...
来源: Laya2.0_文档 发布时间: 20210714
...了。是我哪里设置有问题么 load(url: any, complete?: laya.utils.Handler, progress?: laya.utils.Handler, type?: string, priority?: number, cache?: boolean): LoaderManager; 是因为资源太少么。 2016-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20161010
...是服LAYA,哎,搞了我一晚上,真心不行 this.small_map.selectHandler = new Laya.Handler(this, onSelect_small); this.big_map.selectHandler = new Laya.Handler(this, onSelect_big); function onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:"...
来源: Laya_社区 发布时间: 20180719
...其克隆对象,统计面板的显存和内存就会显示成负数 Laya.Handler.create和new Laya.Handler有啥区别 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的...
来源: Laya_社区 发布时间: 20170320
... 代码 : Laya.loader.load([{url: "comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); function onLoaded(){ var aa = new Sprite(); Laya.stage.addChild(aa); var texture = new Laya.Texture(); texture.load('comp/zzw.png' ); setTimeout( function(){ ...
来源: Laya_社区 发布时间: 20171226
...有问题 华为手机 SoundManager.playSound("GameSound/aa/bb.mp3", 1,new Handler(this,soundComplete,[aa,bb])); 没有音效 上面执行完毕后 不会 执行soundComplete private function soundComplete(aa,bb):void { //执行代码 } 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180314
...on 赞同来自: SoundManager.playSound("../../res/sounds/btn.mp3", 1, new Handler(this, onComplete)); SoundManager.playMusic("../../res/sounds/bgm.mp3", 1, new Handler(this, onComplete)); https://layaair.ldc.layabox.co ... eDemo 2018-06-14 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自...
来源: Laya_社区 发布时间: 20180614
...p地址 然后去加载wxlocal里面的资源, Laya.loader.load(arr, Handler.create(this, this.onLoadComplete),Handler.create(this, this.onLoading, null, false)); 发现并没有去加载这个资源,加断点发现一样走到了URL.formatURL 这个函数里面, 然后和前面设置的...
来源: Laya_社区 发布时间: 20180714