|
@@ -371,7 +371,7 @@ namespace GFGGame
|
|
|
// ReSharper disable Unity.PerformanceAnalysis
|
|
|
private void OnBtnBuyClick(EventContext context)
|
|
|
{
|
|
|
- if (GuideDataManager.IsGuideFinish(ConstGuideId.BUY_POWER) <= 0)
|
|
|
+ if (_itemId == ConstItemID.POWER && GuideDataManager.IsGuideFinish(ConstGuideId.BUY_POWER) <= 0)
|
|
|
{
|
|
|
GuideController.TryCompleteGuideIndex(ConstGuideId.BUY_POWER, 1);
|
|
|
GuideController.TryCompleteGuide(ConstGuideId.BUY_POWER, 1);
|
|
@@ -568,7 +568,10 @@ namespace GFGGame
|
|
|
protected override void UpdateToCheckGuide(object param)
|
|
|
{
|
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
|
- GuideController.TryGuide(_ui.m_list.GetChildAt(1).asCom.GetChild("btnCurReceive").asButton, ConstGuideId.BUY_POWER, 1, "花点小钱可以购买体力超值返利包,每天都能领体力哦~");
|
|
|
+ if (_itemId == ConstItemID.POWER)
|
|
|
+ {
|
|
|
+ GuideController.TryGuide(_ui.m_list.GetChildAt(1).asCom.GetChild("btnCurReceive").asButton, ConstGuideId.BUY_POWER, 1, "花点小钱可以购买体力超值返利包,每天都能领体力哦~");
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|