大约有 1,800 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
Laya_社区(1135) Laya2.0_文档(198) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(31)
... 可以的,加载type是Loader.SOUND Laya.loader.load("xxx/xxx/xxx.mp3", Handler.create(this, onLoaded),null,Loader.SOUND); 2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 apmhot 相关问题 2.0一不小心删了bin目录...
来源: Laya_社区 发布时间: 20180409
... (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = progress; progress = (value: number) => h.runWith(value); } // @ts-ignore return Scene._load(url, progress).then(scene => { scene.open(closeOther, param); if (complete instanceof Handler) complete.run...
来源: Laya_社区 发布时间: 20250609
...s: ani 这是我哪里用的不对吗? Laya.loader.load("res/1.json", Handler.create(this, createAnimation), null, Loader.ATLAS); public function createAnimation():void { var appendHtml:HTMLDivElement=new HTMLDivElement(); appendHtml.inn...
来源: Laya_社区 发布时间: 20180309
...e = 'sprite0'; Laya.stage.addChild(sprite0); sprite0.on(Event.CLICK, this, handler_click); 怎么让sp透明区域不可点,有像素的地方才能接受到事件; hitArea,目前只支持圆形,矩形,多边形,而sp绘制的是一个不规则图形,请问这个怎么解决啊 2017-04-2...
来源: Laya_社区 发布时间: 20170428
...cure.fnt", "res/bmfont/selfdamage.fnt", "res/bmfont/specialfont.fnt"], new Handler(this, this.loadbmfont)); private function loadbmfont():void{ Text.registerBitmapFont("123font", Constant.bmfont); Text.registerBitmapFont("critdamage", Constant.bmfont); Text.registerBitmapFont("enemydamage", Constant...
来源: Laya_社区 发布时间: 20170213
...or = "#ffffff"; //加载资源 Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) })(); function onLoaded(){ var _start = new start(); Laya.stage.addChild(_start); } })(); var start = (function(_super){ function start(){ start.super(this); } Laya.class(...
来源: Laya_社区 发布时间: 20181220
...这样的方法?或求3D抛物线移动的方法或算法。 源代码中Handler中的setTo()方法 Laya的应用内支付方法调用 Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 关于动画ani文件,编辑ani文件需不需要使用loadanimation方法...
来源: Laya_社区 发布时间: 20180419
为什么List中的tweenTo问题 为什么在List中的selectHandler中调用List的tweenTo函数没有任何作用,界面会直接变化到选中的那个项,而没有对应的动画,是不是还有什么参数要设置? 2017-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20171020
...w.load(SdkUtil.sdkDomain + "sdkres/laya/native/NativeGroup.json", new Laya.Handler(this, function (group: Laya.View) { /* if (this.nativeGroup) { return; } */ self.nativeGroup = group; self.nigrop = new NativeGroup(); self.nativeGroup.addComponentIntance(self.nigrop); self.nativeGroup.zOrder = 99999...
来源: Laya_社区 发布时间: 20200630
...t.ERROR,this,this.LoadError) Laya.loader.load("不存在的图片URL",Laya.Handler(this,this.LoadOK)); 发布成微信小游戏版本在真机微信上运行,发现这2个回调都没执行。 2018-09-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20180920