Save file functionality
This commit is contained in:
15
TitleClick.gd
Normal file
15
TitleClick.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user