using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using asap.core; using game; using GameCore; using Newtonsoft.Json.Linq; using TMPro; using UI.Wheel; using UniRx; using UnityEngine; using UnityEngine.UI; namespace UI.HookWheel { public class HookWheelPanel : BasePanel { private List _eventAdWheelRewards; private bool _isNeedRefreshUI; private HookWheelManager _manager; private bool isRotating; private HookWheelManager Manager => _manager ??= GContext.container.Resolve(); private HookWheelData Data => Manager?.Data; private void Awake() { progressObjs = gameObject.FindChildGameObject("target_nml") .FindGameObjects(new[] { "icon1", "icon2", "icon3", "icon4" }); bubble_final = gameObject.FindChildGameObject("p_reward").GetComponentInChildren(); text_time = gameObject.FindChildGameObject(nameof(text_time)).GetComponent(); p_wheel = transform.GetComponentInChildren(); btn_spin = gameObject.FindChildGameObject(nameof(btn_spin)).GetComponentInChildren