This commit is contained in:
2024-02-27 23:21:44 +01:00
parent ba37eca0c9
commit bfec08ff02
38 changed files with 89 additions and 92 deletions

View File

@ -5,7 +5,7 @@ extends DebugLabel
@export var precision := 0.1
@export var suffix := ""
func _process(_delta):
func _process(_delta: float):
match monitor:
Performance.Monitor.TIME_PROCESS, Performance.Monitor.TIME_PHYSICS_PROCESS:
text = str(snapped(Performance.get_monitor(monitor) * 1000, 0.1)) + " ms"