Browse Source

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

zhaoyang 3 years ago
parent
commit
b42127975f

+ 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("挑战次数不足");
+                    }
                 }
             }
         }