PirateTreasureHunt/scenes/FPSValue.gd

16 lines
290 B
GDScript

extends Label
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _process(_delta):
text = str(Performance.get_monitor(Performance.TIME_FPS))