Menu, exports
This commit is contained in:
7
Scripts/MainMenu.gd
Normal file
7
Scripts/MainMenu.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends Control
|
||||
|
||||
func _ready():
|
||||
$Buttons/Host.connect("pressed", self, "host_pressed")
|
||||
|
||||
func host_pressed():
|
||||
get_tree().change_scene("res://Scenes/Main.tscn")
|
||||
Reference in New Issue
Block a user