Improved UI
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
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(Performance.get_monitor(monitor))
|
||||
text = str(snapped(Performance.get_monitor(monitor) * multiply, precision)) + suffix
|
||||
|
Reference in New Issue
Block a user