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