project_teddy/scripts/sceneChangerConfirm.gd

19 lines
230 B
GDScript3
Raw Normal View History

extends Control
func _ready():
pass
func _process(delta):
pass
func _on_yes_button_pressed():
Global.playingGame = false
get_tree().change_scene_to_file(Global.goScene)
func _on_no_button_pressed():
self.queue_free()