This commit is contained in:
2024-02-27 23:21:44 +01:00
parent ba37eca0c9
commit bfec08ff02
38 changed files with 89 additions and 92 deletions

View File

@ -1,4 +1,4 @@
extends DebugLabel
func _process(_delta):
func _process(_delta: float):
text = str(Engine.get_frames_per_second())

View File

@ -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"

View File

@ -1,6 +1,6 @@
extends DebugLabel
func _process(_delta):
func _process(_delta: float):
if Global.player == null:
return

View File

@ -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

View File

@ -1,6 +1,6 @@
extends DebugLabel
func _process(_delta):
func _process(_delta: float):
if Global.player == null:
return