fossekleiva-ks-hackathon-demo/Button.gd
Daniel Løvbrøtte Olsen 915246cd2f inital
2019-09-25 21:35:43 +02:00

18 lines
385 B
GDScript3

extends Button
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_Button_pressed():
get_tree().change_scene("res://main.tscn")