mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2024-12-26 19:58:54 +00:00
12 lines
282 B
TypeScript
12 lines
282 B
TypeScript
import { _decorator, Component, Node } from "cc";
|
|
|
|
import { GameRunner } from "./GameRunner";
|
|
const { ccclass, property } = _decorator;
|
|
|
|
@ccclass("Menu")
|
|
export class Menu extends Component {
|
|
public async start(): Promise<void> {
|
|
GameRunner.Instance.playGame();
|
|
}
|
|
}
|