|
@@ -38,10 +38,10 @@ namespace GFGGame
|
|
|
base.OnShown();
|
|
|
ViewManager.SetMaskAlpha(0.8f);
|
|
|
|
|
|
- _cfgs = DailyLoginCfgArray.Instance.GetCfgs("1");
|
|
|
+ _cfgs = DailyLoginCfgArray.Instance.GetCfgs((int)ConstBonusType.Item);
|
|
|
_ui.m_list.numItems = _cfgs.Count;
|
|
|
_ui.m_loaIcon.url = "ui://DailyLogin/yzhd_dyt_7";
|
|
|
- _ui.m_loaIcon.data = DailyLoginCfgArray.Instance.GetCfgs("2")[0];
|
|
|
+ _ui.m_loaIcon.data = DailyLoginCfgArray.Instance.GetCfgs((int)ConstBonusType.Suit)[0];
|
|
|
}
|
|
|
|
|
|
protected override void OnHide()
|