TowerDefense/UI/label_tower_on_terrain.gd
2025-08-30 00:46:34 +02:00

7 lines
201 B
GDScript

extends Label
func _ready() -> void:
EventBus.team_in_action_changed.connect(_on_EventBus_team_in_action_changed)
func _on_EventBus_team_in_action_changed(_value : int) -> void:
text = str(_value)