14 lines
420 B
GDScript
14 lines
420 B
GDScript
extends Node3D
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
DebugDraw2D.set_text("Frames drawn", Engine.get_frames_drawn())
|
|
DebugDraw2D.set_text("FPS", Engine.get_frames_per_second())
|
|
DebugDraw2D.set_text("delta", delta)
|