1234567891011121314151617181920212223242526272829 |
- import { _decorator, Component, Node } from 'cc';
- import ui_base from '../../../core/ui/ui_base';
- import { GameUILayers } from '../../../core/ui/ui';
- import { ModuleDef } from '../../../scripts/ModuleDef';
- import { Layout_Game } from './Layout_Game';
- const { ccclass, property } = _decorator;
- @ccclass('UI_Game')
- export class UI_Game extends ui_base {
- constructor() {
- super(ModuleDef.GAME, "ui/UI_Game/Game", GameUILayers.GAME, Layout_Game);
- }
- protected onCreated(): void {
- this.showPanel();
- }
- public showPanel(): void {
- super.showPanel();
- // GameCtl.getInstance().initGame();
- }
- public new_close() {
- super.new_close();
- }
- }
|