Cleanup
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
extends DebugLabel
|
||||
|
||||
func _process(_delta):
|
||||
func _process(_delta: float):
|
||||
text = str(Engine.get_frames_per_second())
|
||||
|
@ -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"
|
||||
|
@ -1,6 +1,6 @@
|
||||
extends DebugLabel
|
||||
|
||||
func _process(_delta):
|
||||
func _process(_delta: float):
|
||||
if Global.player == null:
|
||||
return
|
||||
|
||||
|
@ -3,7 +3,7 @@ extends DebugLabel
|
||||
var keys := StateComponent.State.keys()
|
||||
var state: StateComponent
|
||||
|
||||
func _process(_delta):
|
||||
func _process(_delta: float):
|
||||
if !Global.player:
|
||||
return
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
extends DebugLabel
|
||||
|
||||
func _process(_delta):
|
||||
func _process(_delta: float):
|
||||
if Global.player == null:
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user