Hall_Root.ts 346 B

1234567891011121314151617
  1. import { _decorator, Component, Node } from 'cc';
  2. import { gui } from '../../core/ui/ui';
  3. import { UI_Hall } from '../ui/UI_Hall/UI_Hall';
  4. const { ccclass, property } = _decorator;
  5. @ccclass('Hall_Root')
  6. export class Hall_Root extends Component {
  7. start() {
  8. gui.show(UI_Hall);
  9. }
  10. update(deltaTime: number) {
  11. }
  12. }