大约有 708 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
Laya_社区(372) Laya3.0_api(110) Laya2.0_api(105) laya_api(67) Laya2.0_文档(26) Laya2.0_示例(10) Laya3.0_文档(9) Laya_示例(9)
...Templet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figures_lan...
来源: Laya_社区 发布时间: 20190821
...TempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Brows...
来源: Laya2.0_文档 发布时间: 20210715
...Template', () => { vscode.window.showInformationMessage('build template complete.'); }); context.subscriptions.push(disposable); } exports.activate = activate; function deactivate() { } exports.deactivate = deactivate; 问题来了,在layaide中安装成功,运行失败,无法正常使用...
来源: Laya_社区 发布时间: 20180728
...下载进度,例如文件下载时,值为1时表示已完成。 Event.COMPLETE:请求完成后触发,表示响应数据已经完全接收。 Event.ERROR:请求出错时触发,常用于网络故障等异常情况。 2.2 实战HTTP响应 在发送HTTP请求之后,我们直接通过异步...
来源: Laya3.0_文档 发布时间: 20251010
...弹出错误提示,声音听起来正常播放,挂载在channel上的complete监听和error监听均无法触发,channel的isStopped为true。 目前。我更想要一个解决办法,就是如何关闭这个error报错弹窗。我不清楚是否有哪个设置导致报错信息会以此al...
来源: Laya_社区 发布时间: 20251127
...r req:HttpRequest = new HttpRequest(); req.once(Event.COMPLETE, this, function():void { trace(req.data); }); req.once(Event.ERROR, this, function():void { ...
来源: Laya_社区 发布时间: 20170120
...lock=true的资源。 Returns void Static loadFont loadFont(path: string, complete: Handler): void Defined in laya/display/BitmapFont.ts:33 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 Parameters path: string 位图字体文件的路径。 compl...
来源: Laya3.0_api 发布时间: 20231115
...load end:200 03-09 21:15:17.019 23554 23663 I LayaBox : send httpRequest complete method:user.checkPlatformExist 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 guozhaokui 赞同来自: post和get走...
来源: Laya_社区 发布时间: 20180315
...事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载场景,注意:不缓存。 Scene3D loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:...
来源: Laya2.0_api 发布时间: 20190513
...etBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(...
来源: Laya2.0_文档 发布时间: 20210715