12 lines
282 B
TypeScript
Raw Normal View History

2022-12-07 10:47:46 +01:00
import { _decorator, Component, Node } from "cc";
2022-12-12 09:15:27 +01:00
2022-12-07 10:47:46 +01:00
import { GameRunner } from "./GameRunner";
const { ccclass, property } = _decorator;
@ccclass("Menu")
export class Menu extends Component {
2022-12-12 09:15:27 +01:00
public async start(): Promise<void> {
2022-12-07 10:47:46 +01:00
GameRunner.Instance.playGame();
}
}