11 lines
155 B
GDScript
11 lines
155 B
GDScript
extends Label
|
|
|
|
@export var key: String
|
|
|
|
|
|
func _ready() -> void:
|
|
Triggerer.listen(key, _on_value_change)
|
|
|
|
|
|
func _on_value_change(data):
|
|
text = data.value
|