8 lines
155 B
GDScript

extends DebugLabel
func _ready():
owner.download_changed.connect(on_download_changed)
func on_download_changed(download):
text = "%d bytes" % download