using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using GameCore; using TMPro; using System; using cfg; using DG.Tweening; using asap.core; using UniRx; using Game; using UnityEngine.EventSystems; using game; using tysdk; using System.Threading.Tasks; public class FishingTurntablePanel : BasePanel { Tables _tables; FishingEventData _fishingEventData; CanvasGroup canvasGroup; public Button btn_close; public Button btn_nextLevelInfo; public Button btn_Info; public UIButton btn_draw; private PointerEventData _eventButtonDraw; Button stopClick; //private Button btn_beilv; //private Button btn_beilv_max; Button btn_levelUp; TMP_Text text_ticket; TMP_Text text_title; TMP_Text text_time; TMP_Text text_level; TMP_Text text_progress; Image bar; Image Bg; //TMP_Text text_multi; //TMP_Text text_multi_max; TMP_Text text_draw; Timer timer; List rewards; GameObject selected; List wheelDrops; public WheelLevel wheelLevel; TurntableRewardItem selectedReward = null; public bool isFree; int multiplier = 1; GameObject ticket; GameObject levelUp; GameObject wheelBg; GameObject wheelBg_free; GameObject bg; GameObject bg_free; public float gradeUp_time = 1.0f; //private CanvasGroup beilvpanel; //public Transform beilvpanel_max; //public Transform bg_beilvlpanel; //private TMP_Text text_beilvpanel_title; //private TMP_Text text_beilvpanel_content; //GameObject mask; //DOTweenAnimation transitionAnimation; Animation gradeAnimation; Animation barAnimation; bool needTransition = false; int selectedIndex = 0; bool isDataSynced = false; int curSelectedIndex = 0; WheelDrop selectedDrop; Coroutine drew; Spine.Unity.SkeletonGraphic skeletonGraphic; RewardItemNew rewardItemNew; GameObject fx_ui_fishingturntable_npc_01; GameObject fx_ui_fishingturntable_change_01; GameObject fx_ui_fishingturntable_dengdai_01; GameObject fx_ui_fishingturntable_dengdai_02; Animation turntable; Button ad_btn; [SerializeField] private Animator _animatorDrawButton; [SerializeField] private Button _btnPack; void Awake() { _tables = GContext.container.Resolve(); _fishingEventData = GContext.container.Resolve(); canvasGroup = GetComponent(); btn_close = transform.Find("root/btn_close").GetComponent