8 lines
161 B
GDScript3
8 lines
161 B
GDScript3
|
extends Control
|
||
|
|
||
|
func _ready():
|
||
|
$Buttons/Host.connect("pressed", self, "host_pressed")
|
||
|
|
||
|
func host_pressed():
|
||
|
get_tree().change_scene("res://Scenes/Main.tscn")
|