using System; using System.Collections.Generic; using asap.core; using game; using TMPro; using UniRx; using UnityEngine; using UnityEngine.UI; namespace EventMowForTreasure { public class EventMowForTreasureEntranceButton : EventButtonResource { [SerializeField] private TMP_Text textTimer; [SerializeField] private Button btn; [SerializeField] private Image icon; private IDisposable _disposable; private EventMowForTreasureManager _eventMowForTreasureManager; private EventMowForTreasureManager EventMowForTreasureManager => _eventMowForTreasureManager ??= GContext.container.Resolve(); private EventMowForTreasureData Data => EventMowForTreasureManager?.Data; private void Awake() { if (!textTimer) textTimer = gameObject.FindChildGameObject("text_time").GetComponent(); if (!btn) btn = gameObject.GetComponent