Raise-Your-Wand/Scripts/fpsMonitor.gd

6 lines
183 B
GDScript3
Raw Normal View History

extends RichTextLabel
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _physics_process(delta):
text = "FPS: " + str(Engine.get_frames_per_second())