Launcher/Main_menu.gd
2022-10-10 20:59:43 -05:00

12 lines
260 B
GDScript

extends Control
onready var Version_menu = $Panel/Version_menu
func _ready():
for version in Versions.get_versions():
$Panel/Version_menu.add_item(version)
func _on_Play_button_pressed():
var version = Version_menu.get_item_text(Version_menu.selected)