using asap.core; using DG.Tweening; using game; using GameCore; using System; using System.Collections; using PlayFab.Internal; using TMPro; using UniRx; using UnityEngine; using UnityEngine.PlayerLoop; using UnityEngine.UI; public class FishingChallengeAddEvent { } public class HomeBtnChallenge : EventButtonResource { // 管理器 private FishingChallengeManager _fishingChallengeManager; // UIElement; private Transform _bubbleTips; private TMP_Text _textTips; private TMP_Text _textTime; // private Transform _bgText; // 剩余人数 private TMP_Text _textNum; private Transform _barBg; private Image _bar; // private Button _btnEnter; private GameObject _redpoint; private Image _iconImage; // 数据 private int _challengeStep; private int _challengeUIStep; private int _challengeState; // private Timer _timer; // 定时器 private CompositeDisposable _disposables = new(); private readonly float _fillTime = 0.4f;//进度条充满时间 private void Awake() { Log("Awake-> "); _fishingChallengeManager = GContext.container.Resolve(); _btnEnter = GetComponent