11 lines
287 B
GDScript
11 lines
287 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
|
|
print(text)
|