14 lines
208 B
C#
14 lines
208 B
C#
using Godot;
|
|
|
|
public partial class MainMenuController : Node
|
|
{
|
|
public void OnStartGame()
|
|
{
|
|
GetTree().ChangeSceneToFile("res://scenes/game.tscn");
|
|
}
|
|
|
|
public void OnExitGame()
|
|
{
|
|
GetTree().Quit();
|
|
}
|
|
}
|