大约有 23 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0029 秒)
...ialog的缓动动画去掉 Dialog.manager.popupEffect=null; Dialog.manager.closeEffect=null; dialog.scale(0.5,0.5); ------------------------------------ 损失了动画,但能用。 2017-04-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20170410
...要显示自己定义的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeEffect = 2 }; function ENUM_ChangeString(enumObject) { let reslut=""; for (var entry in ENUM_Effect) { reslut=reslut+","+entry; } return reslut; } /** @prop {name:targetEffect, tips:"UI特效", type:ENUM_Effect, defau...
来源: Laya_社区 发布时间: 20191029
...博 QZONE 微信 gls_laybox 赞同来自: //关闭特效自己实现 this.closeEffect = Laya.Handler.create(this,this.onCloseEffect,null,true); //具体的实现代码 _proto_.onCloseEffect = function(){ Laya.Tween.to(this,{ x:-100 //动画结束就关闭 },1000,null,Laya.Handler.create(this,this...
来源: Laya_社区 发布时间: 20170809
...per(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.Event.CLICK, this, this.closeDialog); } //关闭 closeDialog(): void { this.close(); } //关闭效果 hideEffect(): void { Laya.Tween.to(this,{y:...
来源: Laya_社区 发布时间: 20190121
...要用到颜色渐变的动画。本来想改一下DialogManager里面的closeeffect,但是颜色动画不知道怎么Tween。现在没有找到好的方法来做。 2018-01-14 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: tween 有个 update 回调,可以在状态改变的时候触发...
来源: Laya_社区 发布时间: 20180113
...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...
来源: laya_api 发布时间: 20170929
...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 但是你如果用的是show弹出的对话框才是没有遮罩的, 你参考一下api吧!你...
来源: Laya_社区 发布时间: 20180412
...设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭效果,可以设置前述属性为空 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...
来源: Laya2.0_api 发布时间: 20190513
... constructor() { super(); console.log(" Here is DlgNote2"); this.closeEffect = null; this.closeBtn.on(Laya.Event.CLICK, this, this.toClose); //this.show(); } b的关闭方法: toClose():void{ //Laya.Scene.open("datiPage.scene"); this.close(); } a和b都是独立的ts类, expo...
来源: Laya_社区 发布时间: 20190521
...值为null * 全局默认关闭效果可以通过manager.closeEffect修改 public var popupEffect:Function = function(dialog:Sprite):void { dialog.scale(1, 1); Tween.from(dialog, {x: Laya.stage.width / 2, y: Laya.stage.height ...
来源: Laya_社区 发布时间: 20180620