|
@@ -79,7 +79,6 @@ namespace GFGGame
|
|
|
}
|
|
|
|
|
|
LuckyBoxDataManager.Instance.currentBoxId = boxId;
|
|
|
- Debug.Log("zoya0:" + LuckyBoxDataManager.Instance.currentBoxId);
|
|
|
isActiveBoxOpen = Array.IndexOf(LuckyBoxDataManager.Instance.luckyBoxIds, LuckyBoxDataManager.BOX_ID_1) >= 0;
|
|
|
bgIndex = 0;
|
|
|
|
|
@@ -99,7 +98,7 @@ namespace GFGGame
|
|
|
// UpdateNormal();
|
|
|
OnListBgScroll();
|
|
|
updateBoxEffect();
|
|
|
- Timers.inst.Add(3, 0, UpdateBg);
|
|
|
+ Timers.inst.Add(8, 0, UpdateBg);
|
|
|
}
|
|
|
|
|
|
private void RenderListBgItem(int index, GObject obj)
|
|
@@ -117,7 +116,6 @@ namespace GFGGame
|
|
|
{
|
|
|
//活动未开启
|
|
|
LuckyBoxDataManager.Instance.currentBoxId = LuckyBoxDataManager.Instance.luckyBoxIds[0];
|
|
|
- Debug.Log("zoya1:" + LuckyBoxDataManager.Instance.currentBoxId);
|
|
|
|
|
|
Timers.inst.Remove(CheckTime);
|
|
|
return;
|
|
@@ -132,7 +130,6 @@ namespace GFGGame
|
|
|
{
|
|
|
UI_ComListBgItem item = UI_ComListBgItem.Proxy(_ui.m_listBg.GetChildAt(_ui.m_c1.selectedIndex));
|
|
|
LuckyBoxDataManager.Instance.currentBoxId = (int)item.target.data;// LuckyBoxDataManager.Instance.luckyBoxIds[_ui.m_c1.selectedIndex];
|
|
|
- Debug.Log("zoya2:" + LuckyBoxDataManager.Instance.currentBoxId);
|
|
|
|
|
|
item.m_grpTime.visible = LuckyBoxDataManager.Instance.currentBoxId == LuckyBoxDataManager.BOX_ID_1;
|
|
|
item.m_imgTitle.visible = LuckyBoxDataManager.Instance.currentBoxId == LuckyBoxDataManager.BOX_ID_1;
|
|
@@ -265,7 +262,6 @@ namespace GFGGame
|
|
|
private void Reset()
|
|
|
{
|
|
|
LuckyBoxDataManager.Instance.currentBoxId = LuckyBoxDataManager.BOX_ID_1;
|
|
|
- Debug.Log("zoya3:" + LuckyBoxDataManager.Instance.currentBoxId);
|
|
|
|
|
|
}
|
|
|
protected override void UpdateToCheckGuide(object param)
|