Slash-The-Hordes/assets/Scripts/Menu/Menu.ts

11 lines
266 B
TypeScript
Raw Normal View History

2022-12-07 09:47:46 +00:00
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();
}
}