using asap.core; using cfg; using GameCore; using System; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class HomeBtnAdvert : EventButtonResource, IUIRedPoint { public const string redKey = "Home.Advert"; PlayerShopData shopData; Button btn_advert; TMP_Text text_time; GameObject redpoint; GameObject text_task; Timer timer; bool isOpenAdPack; private void Awake() { shopData = GContext.container.Resolve(); btn_advert = GetComponent