import { _decorator } from 'cc';
import { UIBase } from '../../Framework/UI/UIBase';

const { ccclass, property } = _decorator;

/**
 * UIGame 游戏主界面
 * 显示游戏UI和世界场景
 */
@ccclass('UIGame')
export class UIGame extends UIBase {

    protected onLoad(): void {
        console.log('[UIGame] onLoad');
    }

    protected onEnable(): void {
        console.log('[UIGame] onEnable');
    }

    protected onDisable(): void {
        console.log('[UIGame] onDisable');
    }

    protected onDestroy(): void {
        console.log('[UIGame] onDestroy');
    }

    /**
     * 获取 UI 预制体路径
     */
    public onGetUrl(): string {
        return 'res://UI/Game/UIGame';
    }

}
