Slash-The-Hordes/assets/Scripts/Menu/Menu.ts
2022-12-07 10:47:46 +01:00

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();
}
}