using System; using System.Collections.Generic; using System.Threading.Tasks; using asap.core; using cfg; using GameCore; using TMPro; using UnityEngine; using UnityEngine.UI; namespace UI.PackPanel { public class GeneralEventNormalPackCell:MonoBehaviour { [SerializeField] private RewardItemNew[] itemList; [SerializeField] private Button btnPurchase,btnGary; [SerializeField] private TMP_Text textPrice, textPriceOrigin, textDiscount; private void Awake() { FindUI(); } private void Reset() { FindUI(); } private void FindUI() { itemList=GetComponentsInChildren(); btnPurchase=gameObject.FindChildGameObject("btn_purchase").GetComponentInChildren