|
@@ -42,7 +42,7 @@ namespace GFGGame
|
|
|
//viewAnimationType = EnumViewAnimationType.ZOOM_CENTER;
|
|
|
isfullScreen = true;
|
|
|
|
|
|
- _ui.m_listReward.itemRenderer = RenderListRewardItem;
|
|
|
+ _ui.m_comList.m_listReward.itemRenderer = RenderListRewardItem;
|
|
|
_ui.m_bg.onClick.Add(this.Hide);
|
|
|
}
|
|
|
protected override void OnShown()
|
|
@@ -75,7 +75,7 @@ namespace GFGGame
|
|
|
//_ui.m_listReward.SetVirtual(); //有虚拟列表的时候,没有办法居中显示列表
|
|
|
|
|
|
_ui.m_downTipsText.visible = false;
|
|
|
- _ui.m_listReward.numItems = 0;
|
|
|
+ _ui.m_comList.m_listReward.numItems = 0;
|
|
|
counTime = 0;
|
|
|
Timers.inst.Add(0.1f, 3, OnTimerUpdate, 1);
|
|
|
//邊框左上角特效
|
|
@@ -91,12 +91,12 @@ namespace GFGGame
|
|
|
}
|
|
|
else if (counTime == 2)
|
|
|
{
|
|
|
- _ui.m_listReward.numItems = _listItemDatas.Count;
|
|
|
+ _ui.m_comList.m_listReward.numItems = _listItemDatas.Count;
|
|
|
|
|
|
- _ui.m_listReward.ResizeToFit();
|
|
|
- if (_ui.m_listReward.height > maxHeight)
|
|
|
+ _ui.m_comList.m_listReward.ResizeToFit();
|
|
|
+ if (_ui.m_comList.m_listReward.height > maxHeight)
|
|
|
{
|
|
|
- _ui.m_listReward.height = maxHeight;
|
|
|
+ _ui.m_comList.m_listReward.height = maxHeight;
|
|
|
}
|
|
|
}
|
|
|
else if (counTime == 3)
|
|
@@ -161,7 +161,7 @@ namespace GFGGame
|
|
|
|
|
|
item.m_comRewardItem.m_imgOnceBonus.visible = _listItemDatas[index].isOnceBonus;
|
|
|
//特效("ui_ck", "ui_ck_zl");
|
|
|
- int childIndex = _ui.m_listReward.ItemIndexToChildIndex(index);
|
|
|
+ int childIndex = _ui.m_comList.m_listReward.ItemIndexToChildIndex(index);
|
|
|
if (_effects.Count <= childIndex)
|
|
|
{
|
|
|
EffectUI _effectUI = EffectUIPool.CreateEffectUI(item.m_holderReware, "ui_hd", "GXHD_WuPin");
|