大约有 201 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
Laya_社区(83) Laya3.0_api(42) laya_api(20) Laya2.0_api(20) Laya_示例(11) Laya2.0_示例(11) Laya3.0_文档(10) Laya2.0_文档(4)
...逻辑处理。 2.1 支持的事件类型 LayaAir中的HttpRequest继承自EventDispatcher,因此支持多种事件类型,用于HTTP请求后的响应逻辑,常用的事件有: Event.PROGRESS:用于跟踪 HTTP 请求的上传和下载进度,例如文件下载时,值为1时表示已完...
来源: Laya3.0_文档 发布时间: 20251010
...ll Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显...
来源: Laya2.0_api 发布时间: 20190513
... constructor() { super(); Laya.stage.on(Laya.Event.KEY_UP, this, this.onKeyUp); } onKeyUp(e: Laya.Event) { if (e.keyCode == 65) {//A console.log("释放资源false") Laya.loader.clearRes("res/atlas/co...
来源: Laya_社区 发布时间: 20170317
.../mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, cha...
来源: Laya_社区 发布时间: 20170818
...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...
来源: Laya3.0_api 发布时间: 20231115
...ild addChildAt addChildren addComponent addComponentInstance addItem bubbleEvent callLater clearTimer contains customRender delItem destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildInd...
来源: Laya3.0_api 发布时间: 20231115
...e.log(this.btn.selected); }break; shiyang • 2024-10-28 09:48 可以判断event.type == click执行你的逻辑 学思无涯 • 2024-10-28 10:43 @shiyang:赞赞赞
来源: Laya_社区 发布时间: 20241014
...l Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放...
来源: laya_api 发布时间: 20170929
...gle=new Rectangle(-420,-680,420,680); mArmature.hitArea=rect; mArmature.on(Event.CLICK,this,onClick); 2016-11-22 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: 于一个点为中心播放 : this.mArmature = this.mFactory.buildArmature(0); this.mArmatureSpr.addChild(t...
来源: Laya_社区 发布时间: 20161122
...= Laya.stage.height / 2; ufo.play("ludo_ufo_kaishi", false); ufo.once(Laya.Event.STOPPED, this, () => { ufo.play("ludo_ufo_feixing", true); }); ufo.on(Laya.Event.LABEL, this, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf(); } }); })); } genSpine(url, hand...
来源: Laya_社区 发布时间: 20220530