[]Dialog用法——弹出回调
需求大概是:因为我们所有页面都有放缩,所以不能用默认的呈现方式,需要进行对应放缩,popup 和shou没有这个参数,所以我想在成功popup 或show后再放缩,不知道popup或show成功后是否回调,或者通过其它方式可以解决我这个问题
let testD: TestDialog = new TestDialog();
testD.popup(true);
Laya.timer.once(2000, this, () => {
testD.scaleX = 0.5
testD.scaleY = 0.5
});
let testD: TestDialog = new TestDialog();
testD.popup(true);
Laya.timer.once(2000, this, () => {
testD.scaleX = 0.5
testD.scaleY = 0.5
});
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
cuixueying
赞同来自: