blob: 6a8c37289ca1659cc07ddd73a933c238bb8d9d3d (
plain)
1
2
3
4
5
6
7
8
9
10
|
class_name DebugInfo
extends CanvasLayer
var player_state: PlayerState
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
var text = ""
if player_state: text += "%s\n" % player_state.to_string()
$Label.text = text
|