Launcher/ProgressBar.gd

9 lines
148 B
GDScript

extends ProgressBar
var request
func _process(delta):
if request:
max_value = request.get_body_size()
value = request.get_downloaded_bytes()