cirnogodot/Scripts/Utils/FpsCounterLabel.cs

11 lines
217 B
C#
Raw Permalink Normal View History

2025-03-14 00:04:11 +01:00
using Godot;
namespace Cirno.Scripts.Utils;
public partial class FpsCounterLabel : Label
{
public override void _Process(double delta)
{
this.Text = Engine.GetFramesPerSecond().ToString();
}
}