midori-school/fps.gd

6 lines
133 B
GDScript3
Raw Permalink Normal View History

2023-12-26 17:09:27 +01:00
extends Label
func _process(delta: float) -> void:
2024-01-26 22:16:00 +01:00
if !Global.mangohud:
set_text("FPS: " + str(Engine.get_frames_per_second()));