using asap.core; using cfg; using game; using GameCore; using System; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class AdvertRewardPanel : MonoBehaviour { Tables _tables; ShopPackManager packM; Pack pack; int num; RewardItemNew[] rewardItems; //倒计时 GameObject cd; TMP_Text text_time; //购买按钮 Button btn_buy; AdvertButton btn_advert; PlayerShopData shopData; Timer timer; List itemDataGift; Daily daily; private void Awake() { shopData = GContext.container.Resolve(); _tables = GContext.container.Resolve(); rewardItems = transform.Find("reward_panel").GetComponentsInChildren(); cd = transform.Find("reward_panel/cd").gameObject; text_time = transform.Find("reward_panel/cd/text_time").GetComponent(); btn_buy = transform.Find("reward_panel/btn_free/btn_green").GetComponent