• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0111 秒)

1331. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 72%]

...节点和组件均已创建完毕,此方法只执行一次 */ 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

1332. laya.display.cmd.FillBorderTextCmd [ 72%]

...布)。 FillBorderTextCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 FillBorderTextCmdPublic Constants ConstantDefined By  ID : String = FillBorderText[static] FillBorderTextCmdProperty DetailborderColorpropertypublic var borderColor:String 定义镶边文本颜色。...

来源: Laya2.0_api 发布时间: 20190513

1333. dialog如果在close动画播放完毕后删除 [ 72%]

...会再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

1334. 滤镜问题,有复现demo [ 72%]

...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

1335. laya.effect.ButtonEffect_API3.0 [ 72%]

...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

1336. laya.d3.core.particleShuriKen.module.Burst [ 72%]

...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

1337. 3D射线穿透UI问题 [ 72%]

...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

1338. laya.d3.core.particleShuriKen.module.Burst [ 72%]

...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

1339. laya.d3.resource.models.MorphTargetChannel_API3.0 [ 72%]

...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

1340. DOM元素-表单输入 [ 71%]

...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