Updated UI

This commit is contained in:
2024-02-07 23:01:54 +01:00
parent 4dbaf75b71
commit c81cc97e87
5 changed files with 3 additions and 3 deletions

View File

@ -0,0 +1,12 @@
@tool
extends Label
func _ready():
update_text()
func update_text():
text = name + ":"
func _get_configuration_warnings() -> PackedStringArray:
update_text()
return []

View File

@ -0,0 +1,12 @@
@tool
extends Label
func _ready():
update_text()
func update_text():
text = get_parent().name + ":"
func _get_configuration_warnings() -> PackedStringArray:
update_text()
return []