13 lines
231 B
C#
13 lines
231 B
C#
|
using System;
|
||
|
using Godot;
|
||
|
|
||
|
namespace SupaLidlGame.UI;
|
||
|
|
||
|
public partial class FramerateCounter : Label
|
||
|
{
|
||
|
public override void _Process(double delta)
|
||
|
{
|
||
|
Text = $"{Math.Round(Engine.GetFramesPerSecond())} FPS";
|
||
|
}
|
||
|
}
|