using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; namespace KernelPanic.UI { /// /// Keeps the ambient boot-log background filled by rewriting a fixed stack of labels. /// public sealed class BackgroundLogRingBuffer { private const float LineHeight = 18f; private const int ExtraLines = 2; private const int TickMilliseconds = 450; private readonly VisualElement layer; private readonly IReadOnlyList sourceLines; private readonly List