10 lines
274 B
GDScript
10 lines
274 B
GDScript
extends RichTextLabel
|
|
|
|
|
|
func _ready() -> void:
|
|
AutoUpdate.update_version_text.connect(update_version)
|
|
update_version("")
|
|
|
|
|
|
func update_version(version: StringName):
|
|
text = "Текущая версия игры: " + preload("res://version.tres").version + "\n" + version
|