using UnityEngine.UI; using game; using asap.core; using GameCore; using UnityEngine; using TMPro; using cfg; using DG.Tweening; using UniRx; //using System.Threading; public class CampSkyscraperPanel : BasePanel { private Button _btnClose, _btnLeft, _btnConstruct, _btnInfo, _btnConstructGray; //public Action OnClickConstruct, OnClickBtnClose; public GameObject fxRating, goCombo; private TMP_Text _textPrice, _textIBLvl, _textStepProgress, _textPriceGray, _comboText1, _comboText2, _comboText3; TMP_Text text_cost_buff, text_old;//, text_cost_buffGray, text_oldGray; private InfiniteBuildingData _ibd; private ulong _price; private Image _bar; private RewardItemNew _reward, _flyMoney; private Tables _tables; private PlayerData _pd; private PlayerItemData _pid; private Animation _rewardAni, _lvlUpAni; private TbConstructionInfiniteReward _rewardTable; private EventAggregator _eventAggregator; CanvasGroup canvasGroup; private void Awake() { //Debug.Log($"UI thread id: {Thread.CurrentThread.ManagedThreadId}"); _btnClose = transform.Find("safearea/DownPanel/btn_close").GetComponent