using System; using UnityEngine; using UnityEngine.UIElements; namespace DanroJump.UI.Gameplay { /// /// Полноэкранное предложение продолжить забег за баланс. /// public sealed class ContinueGameOverlayWindow : IDisposable { private const float OpenInputGuardSeconds = 0.45f; private readonly VisualElement root; private readonly Label titleLabel; private readonly Label detailsLabel; private readonly Button continueButton; private readonly Button menuButton; private float inputEnabledAtTime = float.NegativeInfinity; public ContinueGameOverlayWindow(VisualElement root) { this.root = root; if (this.root != null) { this.root.focusable = true; } titleLabel = root?.Q