8 lines
158 B
GDScript

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