Improved UI event system
This commit is contained in:
@ -1,7 +0,0 @@
|
||||
extends DebugLabel
|
||||
|
||||
func _ready():
|
||||
owner.download_changed.connect(on_download_changed)
|
||||
|
||||
func on_download_changed(download):
|
||||
text = "%d bytes" % download
|
@ -1,7 +0,0 @@
|
||||
extends DebugLabel
|
||||
|
||||
func _ready():
|
||||
owner.ping_changed.connect(on_ping_changed)
|
||||
|
||||
func on_ping_changed(ping):
|
||||
text = str(snapped(ping * 1000, 1)) + " ms"
|
@ -1,7 +0,0 @@
|
||||
extends DebugLabel
|
||||
|
||||
func _ready():
|
||||
owner.upload_changed.connect(on_upload_changed)
|
||||
|
||||
func on_upload_changed(upload):
|
||||
text = "%d bytes" % upload
|
Reference in New Issue
Block a user