20 lines
529 B
TypeScript
20 lines
529 B
TypeScript
import { _decorator, Component, Node, tween, UIOpacity, Vec3 } from "cc";
|
|
import li_BaseView from "../../../Main/Common/li_BaseView";
|
|
import { NavigationManager } from "../../manager/NavigationManager";
|
|
const { ccclass, property } = _decorator;
|
|
|
|
@ccclass("ReleasePanel")
|
|
export class ReleasePanel extends li_BaseView {
|
|
onLoadCT(): void {
|
|
this.scheduleOnce(this.autoClose, 1);
|
|
}
|
|
|
|
private autoClose() {
|
|
this.closePanel();
|
|
}
|
|
|
|
private closePanel() {
|
|
NavigationManager.Instance.closePopupPanel(this.node);
|
|
}
|
|
}
|