浏览代码

工作室副本次数不足时点开始弹购买次数弹窗

zhaoyang 3 年之前
父节点
当前提交
b42127975f
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryLevelInfoView.cs

+ 8 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryLevelInfoView.cs

@@ -79,7 +79,14 @@ namespace GFGGame
                 }
                 else
                 {
-                    PromptController.Instance.ShowFloatTextPrompt("挑战次数不足");
+                    if (levelCfg.type == ConstInstanceZonesType.Studio)
+                    {
+                        ViewManager.Show<StudioBuyNumView>(levelCfg.chapterId);
+                    }
+                    else
+                    {
+                        PromptController.Instance.ShowFloatTextPrompt("挑战次数不足");
+                    }
                 }
             }
         }