|
@@ -84,7 +84,10 @@ namespace GFGGame
|
|
|
protected override void OnShown()
|
|
|
{
|
|
|
base.OnShown();
|
|
|
-
|
|
|
+ if (GuideDataManager.IsGuideFinish(ConstGuideId.LUCKY_BOX) <= 0)
|
|
|
+ {
|
|
|
+ GRoot.inst.touchable = false;
|
|
|
+ }
|
|
|
|
|
|
int boxId = LuckyBoxDataManager.Instance.luckyBoxIds[0];
|
|
|
if (this.viewData != null)
|
|
@@ -375,6 +378,7 @@ namespace GFGGame
|
|
|
{
|
|
|
if (GuideDataManager.IsGuideFinish(ConstGuideId.LUCKY_BOX) <= 0)
|
|
|
{
|
|
|
+ GRoot.inst.touchable = true;
|
|
|
UpdateToCheckGuide(null);
|
|
|
}
|
|
|
else
|
|
@@ -386,6 +390,7 @@ namespace GFGGame
|
|
|
protected override void UpdateToCheckGuide(object param)
|
|
|
{
|
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
|
+
|
|
|
GButton btnBuyTen = _ui.m_listBg.GetChildAt(0).asCom.GetChild("btnBuyTen").asButton;
|
|
|
|
|
|
GuideController.TryGuide(null, ConstGuideId.LUCKY_BOX, 1, "“摘星”里可以通过星辰的力量获得服饰。", -1, true, _ui.target.height - 600);
|