12 lines
260 B
GDScript
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)
|