16 lines
367 B
GDScript
16 lines
367 B
GDScript
extends LinkButton
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
self.connect("pressed", Callable(self, "_on_Button_pressed"))
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|
|
|
|
|
|
func _on_Button_pressed():
|
|
get_tree().change_scene_to_file("res://Scenes/UserInterface.tscn")
|