7 lines
131 B
GDScript

extends DebugLabel
@export var monitor: Performance.Monitor
func _process(_delta):
text = str(Performance.get_monitor(monitor))