using asap.core; using cfg; using DG.Tweening; using GameCore; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; using UniRx; using game; using Game; public class EventBankHeistPanel : BasePanel { Tables _tables; FishingEventData _fishingEventData; SmallGameData smallGameData; #if UNITY_EDITOR static public int selectionType = 0; #endif GameObject bg; GameObject bg1; GameObject bg2; Head head; Button headButton; GameObject exchange; public TMP_Text text_name; public Button btn_close; public Transform beilvpanel_max; public Transform bg_beilvlpanel; GameObject beilvpanel; public TMP_Text text_beilv; public TMP_Text text_beilv1; public TMP_Text text_num; public TMP_Text text_num1; public GameObject luckytime_1; public GameObject luckytime_2; CanvasGroup canvasGroup; HeistSequence heistSequence; Dictionary heistItemDataMap; BankHeistItem[] bankHeistItems; List bankHeistTargetItems; List bombBankHeistItems; List ItemIDList; int curShowCount; bool isClick = false; int multiple; int getGlodCount = 0; bool is_double_cash = false; float allExtraPoint = 0; int gameType = 1; List ids; Animation panel_card_ani; Animation target_ani; GameObject Root; //int curRankCount; int addRankCount; string playFabId; float superCashBonus = 0; private void Awake() { _tables = GContext.container.Resolve(); heistItemDataMap = _tables.TbHeistItem.DataMap; _fishingEventData = GContext.container.Resolve(); smallGameData = GContext.container.Resolve(); Root = transform.Find("root").gameObject; bg = transform.Find("bg").gameObject; bg1 = transform.Find("bg1").gameObject; bg2 = transform.Find("bg2").gameObject; canvasGroup = transform.GetComponent(); text_name = transform.Find("root/title/bg/text_name").GetComponent(); btn_close = transform.Find("root/btn_close/bg_bottom").GetComponent