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