using System; using DanroJump.Prizes; using DanroJump.Prizes.Qr; 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 Button returnButton; private float inputEnabledAtTime = float.NegativeInfinity; public PrizeResultOverlayWindow(VisualElement root) { this.root = root; if (this.root != null) { this.root.focusable = true; } titleLabel = root?.Q