PirateTreasureHunt/scenes/FPSValue.gd

16 lines
289 B
GDScript
Raw Normal View History

2021-06-17 23:04:13 +02:00
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))