23 lines
666 B
TypeScript
23 lines
666 B
TypeScript
import { _decorator } from "cc";
|
|
|
|
import BaseLayer from "@max-studio/core/ui/BaseLayer";
|
|
import { uiConfig, UIType } from "@max-studio/core/ui/UIDecorator";
|
|
import UIManager from "@max-studio/core/ui/UIManager";
|
|
import { CommonDialogBox } from "./CommonDialogBox";
|
|
import { CommonToast } from "./CommonToast";
|
|
import { ResManager } from "@max-studio/core/res/ResManager";
|
|
import { SpriteAtlas } from "cc";
|
|
|
|
const { ccclass, property, menu } = _decorator;
|
|
|
|
@ccclass("MainUI")
|
|
@uiConfig({
|
|
prefab: "prefabs/uis/MainUI",
|
|
bundle: "games",
|
|
isCache: false,
|
|
})
|
|
@menu("max/ui/MainUI")
|
|
export class MainUI extends BaseLayer {
|
|
async onShow(...args: any[]) {}
|
|
}
|