using System; using System.Collections.Generic; using DanroJump.Hardware.Com; using DanroJump.Prizes; using DanroJump.Prizes.Qr; using DanroJump.Audio; using UnityEngine; using UnityEngine.UIElements; namespace DanroJump.UI.Gameplay { /// /// Полноэкранный результат выдачи приза поверх gameplay HUD. /// public sealed class PrizeResultOverlayWindow : IDisposable { private const float OpenInputGuardSeconds = 0.45f; private readonly VisualElement root; private readonly Label titleLabel; private readonly Label subtitleLabel; private readonly Label detailsLabel; private readonly VisualElement qrContainer; private readonly Image qrImage; private readonly Label qrPhoneLabel; private readonly Label qrMessageLabel; private readonly VisualElement prizeStandContainer; private readonly Button returnButton; private readonly IGameAudioService audioService; private float inputEnabledAtTime = float.NegativeInfinity; public PrizeResultOverlayWindow(VisualElement root, IGameAudioService audioService = null) { this.root = root; this.audioService = audioService; titleLabel = root?.Q