AlertToBeContinueImpl.ts 461 Bytes
import { UIManager } from "../../../../common/gameplay/managers/UIManager";

const { ccclass, property } = cc._decorator

@ccclass
export class AlertToBeContinueImpl extends cc.Component {
    //#region editor bindings
    closeAction() {
        this.node.destroy();
    }
    //#endregion
}

let uishowed = false;
export function showToBeContinue() {
    if (!uishowed) {
        uishowed = true;
        UIManager.showAlert("prefab/ui/ToBeContinue");
    }
}