8 lines
145 B
GDScript

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