PirateTreasureHunt/scenes/FPSValue.gd

16 lines
290 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.
2021-06-28 21:51:09 +02:00
func _process(_delta):
2021-06-17 23:04:13 +02:00
text = str(Performance.get_monitor(Performance.TIME_FPS))