using asap.core; using GameCore; using UniRx; using UnityEngine; using UnityEngine.UI; public class BPItemSlot : MonoBehaviour { #region Field δΉ‚ protected RewardItemNew RewardItem; // protected Image // img_bg; protected GameObject go_claim, go_levelLock, go_vipLock, go_hasGot; protected Button btn_click; protected bool _isNormal; protected int _level; protected CompositeDisposable _disposables = new(); protected BattlePassDataProvider _dataProvider; #endregion #region Func private void Init() { RewardItem = transform.GetComponentInChildren(); go_claim = transform.Find("position/claim").gameObject; go_vipLock = transform.Find("position/lock")?.gameObject; go_levelLock = transform.Find("position/unlock")?.gameObject; go_hasGot = transform.Find("position/reward/received").gameObject; // img_bg = RewardItem.transform.Find("bg").GetComponent(); btn_click = go_claim?.GetComponent