pegchamp/HUD/Multiplier.gd
2021-10-01 16:23:48 +02:00

7 lines
163 B
GDScript

extends Label
func _ready():
var _connected = GameStats.connect("multiplier_changed", self, "update_text")
func update_text(value):
text = "x" + String(value)