2024-01-18 22:35:17 +00:00
|
|
|
extends DebugLabel
|
|
|
|
|
|
|
|
@export var monitor: Performance.Monitor
|
2024-02-12 11:38:31 +00:00
|
|
|
@export var multiply := 1.0
|
|
|
|
@export var precision := 0.1
|
|
|
|
@export var suffix := ""
|
2024-01-18 22:35:17 +00:00
|
|
|
|
|
|
|
func _process(_delta):
|
2024-02-12 11:38:31 +00:00
|
|
|
text = str(snapped(Performance.get_monitor(monitor) * multiply, precision)) + suffix
|