大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0111 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.assets = ["resources/res/ui/dialog (1).png", "resources/res/ui/close.png"]; Laya.loader.load(this.assets).then( ()=>{ this.onSkinLoadComplete(); } ); } private onSkinLoadComplete(e: any = null): void { this.dia...
来源: Laya3.0_文档 发布时间: 20230303
...布)。 FillBorderTextCmdPublic Methods MethodDefined By recover():void 回收到对象池 FillBorderTextCmdPublic Constants ConstantDefined By ID : String = FillBorderText[static] FillBorderTextCmdProperty DetailborderColorpropertypublic var borderColor:String 定义镶边文本颜色。...
来源: Laya2.0_api 发布时间: 20190513
...会再dialog的clsoe动画播放完成后回调 private function onClick():void { dialog.closeHandler=Handler.create(this,onClosed); } private function onClosed():void { trace("close"); } 2017-07-03 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...
来源: Laya_社区 发布时间: 20170702
...0ff"); Laya.stage.addChild(btn); btn.on(Event.MOUSE_DOWN, this, function():void { btn.filters = [new GlowFilter("#ff0f0f")]; } ); btn.on(Event.MOUSE_UP, this, function():void { btn.filters = null; } ); 附件 : --> myLaya_demo1.zip 2018-12-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20181221
...ps:"缓动时长",default:"300"} Accessors target set target(tar: Sprite): void Defined in laya/effect/ButtonEffect.ts:41 设置控制对象 Parameters tar: Sprite Returns void Globals "laya/effect/ButtonEffect" ButtonEffect backEase effectEase effectScale tweenTime target Legend Object literal Vari...
来源: Laya3.0_api 发布时间: 20231115
...urst 实例。 Burst clone():* 克隆。 Burst cloneTo(destObject:*):void 克隆。 BurstProperty DetailmaxCountpropertymaxCount:int [read-only] 获取爆裂的最大数量。 Implementation public function get maxCount():intminCountproperty minCount:int [read-only] 获取爆裂...
来源: laya_api 发布时间: 20170929
...tton; button.name = "abc"; Laya.Button.on(Laya.Event.CLICK, this, function:void{ 具体实现 }); 在另一个方法里面 Laya.stage.on(Laya.Event.MOUSE_UP, this, function(evt:Laya.Event):void{ console.log("aaaaa = " + evt.tager.name); //这里名字是空的,我想问一下,这...
来源: Laya_社区 发布时间: 20180416
...urst 实例。 Burst clone():* 克隆。 Burst cloneTo(destObject:*):void 克隆。 BurstProperty DetailmaxCountpropertymaxCount:int [read-only] 获取爆裂的最大数量。 Implementation public function get maxCount():intminCountproperty minCount:int [read-only] 获取爆裂...
来源: Laya2.0_api 发布时间: 20190513
...models/MorphTarget.ts:32 Methods addTarget addTarget(target: MorphTarget): void Defined in laya/d3/resource/models/MorphTarget.ts:42 Parameters target: MorphTarget Returns void getTargetByIndex getTargetByIndex(index: number): MorphTarget Defined in laya/d3/resource/models/MorphTarget.ts:38 Paramete...
来源: Laya3.0_api 发布时间: 20231115
...ut, passwordInput]); } private showLabel(label:string, x:number, y:number):void{ var t:Laya.Text = new Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15; t.font = "SimHei"; t.text = label; t.pos(x, y); this.form.addChild(t); } private createInputElement():any{ var input:an...
来源: Laya2.0_示例 发布时间: 20260303