virtualx-engine/demos/gui/translation/controls.gd

10 lines
139 B
GDScript3
Raw Normal View History

extends Panel
func _on_back_pressed():
var s = load("res://main.scn")
var si = s.instance()
get_parent().add_child(si)
queue_free()