10 lines
253 B
GDScript
10 lines
253 B
GDScript
extends DebugLabel
|
|
|
|
@export var monitor: Performance.Monitor
|
|
@export var multiply := 1.0
|
|
@export var precision := 0.1
|
|
@export var suffix := ""
|
|
|
|
func _process(_delta):
|
|
text = str(snapped(Performance.get_monitor(monitor) * multiply, precision)) + suffix
|