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