44b2dcaf-3655-48c7-9fe9-9d1b11e5d257.js 1.6 KB
"use strict";
cc._RF.push(module, '44b2dyvNlVIx5/pnRsR5dJX', 'AlertToBeContinueImpl');
// script/game/ui/view/impl/AlertToBeContinueImpl.ts

"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.showToBeContinue = exports.AlertToBeContinueImpl = void 0;
const UIManager_1 = require("../../../../common/gameplay/managers/UIManager");
const { ccclass, property } = cc._decorator;
let AlertToBeContinueImpl = /** @class */ (() => {
    let AlertToBeContinueImpl = class AlertToBeContinueImpl extends cc.Component {
        //#region editor bindings
        closeAction() {
            this.node.destroy();
        }
    };
    AlertToBeContinueImpl = __decorate([
        ccclass
    ], AlertToBeContinueImpl);
    return AlertToBeContinueImpl;
})();
exports.AlertToBeContinueImpl = AlertToBeContinueImpl;
let uishowed = false;
function showToBeContinue() {
    if (!uishowed) {
        uishowed = true;
        UIManager_1.UIManager.showAlert("prefab/ui/ToBeContinue");
    }
}
exports.showToBeContinue = showToBeContinue;

cc._RF.pop();