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