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.
CrowdControl/Assets/3rd/D2D_Scripts/UI/LevelLabel.cs

15 lines
352 B
C#

3 months ago
using D2D.Databases;
using D2D.Utilities;
namespace D2D.UI
{
public class LevelLabel : LabelBase
{
protected override float UpdateRate => 999f;
protected override float StartRate => .1f;
protected override string GetText() =>
$"{this.FindLazy<GameProgressionDatabase>().PassedLevels.Value + 1}";
}
}