8 lines
148 B
GDScript

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