You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
248 B
C#
12 lines
248 B
C#
2 months ago
|
using UnityEngine;
|
||
|
using D2D.Utilities;
|
||
|
|
||
|
namespace D2D.UI
|
||
|
{
|
||
|
public class FPSLabel : LabelBase
|
||
|
{
|
||
|
protected override float UpdateRate => .25f;
|
||
|
|
||
|
protected override string GetText() => $"{(1f / Time.deltaTime).Round()}";
|
||
|
}
|
||
|
}
|