using System; using TMPro; using UniRx; using UnityEngine.UI; using cfg; using asap.core; using GameCore; using UnityEngine; using game; using DG.Tweening; public class GiftBargainPopupPanel : BasePanel { private TMP_Text _textTimer, _textBargainProgress, _textPrice, _textPriceDiscount, _textDiscountTag1, _textDiscountTag2, _textPriceOrigin, _textInfo, _textLastPriceDiscount, _textLastPriceOrigin; private Image _bargainBar; private Tables _tables; private Button _btnBuy, _btnDiscount, _btnClose, _btnInfo, _btnLastDiscount; private GiftRewardAttached _reward4, _reward3; private BargainPackData _bpd; private GameObject _discountTag1, _discountTag2; private Spine.Unity.SkeletonGraphic _npc; private IAPItemList _iap; private System.Threading.CancellationTokenSource _cts; private Animation _rootAni; private void Awake() { #region UI _textTimer = transform.Find("root/text_time").GetComponent(); _bargainBar = transform.Find("root/bg_bar/bar").GetComponent(); _textBargainProgress = transform.Find("root/bg_bar/text_progress").GetComponent(); _btnBuy = transform.Find("root/btn_buy/btn_green").GetComponent