level_button.gd 105 B

12345678
  1. extends Button
  2. export var level = ""
  3. func _on_LevelButton_pressed():
  4. get_tree().change_scene(level)