Autoupdate status
This commit is contained in:
parent
a3ad473b39
commit
3a4e0f30bf
3 changed files with 25 additions and 3 deletions
|
|
@ -1,5 +1,11 @@
|
|||
extends Label
|
||||
extends RichTextLabel
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
text = "Текущая версия игры: " + preload("res://version.tres").version
|
||||
AutoUpdate.update_version_text.connect(update_version)
|
||||
update_version("")
|
||||
|
||||
|
||||
func update_version(version: StringName):
|
||||
text = "Текущая версия игры: " + preload("res://version.tres").version + "\n" + version
|
||||
print(text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue