Cleaned up project with better structure.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Godot;
|
||||
|
||||
public partial class MainMenu : Control
|
||||
{
|
||||
public void OnPlayPressed()
|
||||
{
|
||||
GetTree().ChangeSceneToFile("res://Scenes/Game.tscn");
|
||||
}
|
||||
|
||||
public void OnQuitPressed()
|
||||
{
|
||||
GetTree().Quit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user