Added debug labels

This commit is contained in:
2024-01-18 23:35:17 +01:00
parent 7eba25c83b
commit ce699ee6db
22 changed files with 256 additions and 108 deletions

7
ui/debug/PingLabel.gd Normal file
View File

@ -0,0 +1,7 @@
extends DebugLabel
func _ready():
%Ping.connect("changed", on_ping_changed)
func on_ping_changed(ping):
text = str(snapped(ping * 1000, 0.1)) + " ms"