using FOU.Scripts; using Godot; public partial class PerfDetails : Label { public override void _Process(double delta) { Text = ""; if (!Main.Instance.DebugMode) return; int activeElements = 0; foreach (Chunk c in Main.Instance.Level.GetChunks()) activeElements += c.ActiveElementsCount(); Text += $"Active Elements: {activeElements}"; } }