import UIBase from "../fgui/core/UIBase"; import ui_UIGuanYu from "../fgui/res/game/ui_UIGuanYu"; export default class UIGuanYu extends UIBase { protected ui: ui_UIGuanYu; public constructor() { super(); } protected onConstructor(): void { this.ui = ui_UIGuanYu.createInstance(); this.contentPane = this.ui; this.isEject = false; // } public show(callback): void { super.show(); this.ui.t0.play(Laya.Handler.create(this, () => { // callback && callback(); this.hide(); // })) } } UIGuanYu.uiName = "UIGuanYu";