|
@@ -294,6 +294,8 @@ namespace GFGGame
|
|
|
|
|
|
numItems = childItemCfg.param1Arr.Length;
|
|
|
|
|
|
+ //领取加红点
|
|
|
+ RedDotController.Instance.SetComRedDot(item.m_btnCurReceive.target, weekGiftBoxState);
|
|
|
//是否需要领取
|
|
|
if (weekGiftBoxState)
|
|
|
{
|
|
@@ -376,6 +378,7 @@ namespace GFGGame
|
|
|
GuideController.TryCompleteGuideIndex(ConstGuideId.BUY_POWER, 1);
|
|
|
GuideController.TryCompleteGuide(ConstGuideId.BUY_POWER, 1);
|
|
|
}
|
|
|
+
|
|
|
GObject sender = context.sender as GObject;
|
|
|
GObject obj = sender.parent;
|
|
|
ShopCfg cfg = obj.data as ShopCfg;
|
|
@@ -549,10 +552,12 @@ namespace GFGGame
|
|
|
// Dispose();
|
|
|
this.Hide();
|
|
|
}
|
|
|
+
|
|
|
private void CheckGuide()
|
|
|
{
|
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
|
}
|
|
|
+
|
|
|
private void CheckGuide(object param)
|
|
|
{
|
|
|
if (GuideDataManager.IsGuideFinish(ConstGuideId.BUY_POWER) <= 0)
|
|
@@ -570,9 +575,9 @@ namespace GFGGame
|
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
|
if (_itemId == ConstItemID.POWER)
|
|
|
{
|
|
|
- GuideController.TryGuide(_ui.m_list.GetChildAt(1).asCom.GetChild("btnCurReceive").asButton, ConstGuideId.BUY_POWER, 1, "花点小钱可以购买体力超值返利包,每天都能领体力哦~");
|
|
|
+ GuideController.TryGuide(_ui.m_list.GetChildAt(1).asCom.GetChild("btnCurReceive").asButton,
|
|
|
+ ConstGuideId.BUY_POWER, 1, "花点小钱可以购买体力超值返利包,每天都能领体力哦~");
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|