stick-the-quick/startup/TitleScreenInfo.gd

14 lines
335 B
GDScript

class_name TitleScreenInfo extends Control
@onready var _version := $'Version' as Label
func _ready() -> void:
_version.text = "v%s\n%s" % [
ProjectSettings.get(&'application/config/version'),
"Debug build" if OS.is_debug_build() else (
"Released %s" % ProjectSettings.get(
&'application/config/release_date'
)
)
]