SupaLidlGame/UI/Debug/FramerateCounter.cs

13 lines
231 B
C#
Raw Normal View History

2024-01-02 17:04:12 -08:00
using System;
using Godot;
namespace SupaLidlGame.UI;
public partial class FramerateCounter : Label
{
public override void _Process(double delta)
{
Text = $"{Math.Round(Engine.GetFramesPerSecond())} FPS";
}
}