using System; using UnityEngine; using UnityEngine.UIElements; using DanroJump.Audio; 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 readonly IGameAudioService audioService; private float inputEnabledAtTime = float.NegativeInfinity; public ContinueGameOverlayWindow(VisualElement root, IGameAudioService audioService = null) { this.root = root; this.audioService = audioService; titleLabel = root?.Q