using System.Collections.Generic; using asap.core; using game; using Game; using GameCore; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using TMPro; using UIScriptBase; using UnityEngine; using UnityEngine.UI; namespace Assets.Scripts.UI.OfferSweep { public class OfferSweepPackCell : MonoBehaviour { #region UI_ELEMENTS protected Button btn_purchase; protected GameObject locked; protected GameObject bg_done; protected GameObject bg_reward; protected GameObject fx_ui_offersweep_reward_loop; protected RewardItemNew[] _rewardItemNews; protected TextMeshProUGUI p_text; protected Image frame_sweep_progress; protected Animation fxAnimation; #endregion private int _index; private OfferSweepManager _offerSweepManager; private void Awake() { btn_purchase = this.transform.Find("RewardContent/btn_buy/btn_green_c").GetComponent