7 lines
113 B
GDScript
7 lines
113 B
GDScript
extends Button
|
|
|
|
@export var goto_scene : String
|
|
|
|
func _on_pressed():
|
|
SceneSwitcher.transition_scene(goto_scene)
|