16 lines
227 B
C#
16 lines
227 B
C#
|
using Godot;
|
||
|
using System;
|
||
|
|
||
|
public class FPS : Label
|
||
|
{
|
||
|
public override void _Ready()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public override void _Process(float delta)
|
||
|
{
|
||
|
Text = Engine.GetFramesPerSecond().ToString();
|
||
|
}
|
||
|
}
|