Pārlūkot izejas kodu

服装分解提示增加分解技能书区别

huangxiaoyue 2 gadi atpakaļ
vecāks
revīzija
53d49d0d5f

+ 7 - 1
GameClient/Assets/Game/HotUpdate/Views/ClothingDecompose/ClothingDecomposeView.cs

@@ -335,7 +335,13 @@ namespace GFGGame
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cfg.consumeId);
             if (_decomposeCount <= 0)
             {
-                PromptController.Instance.ShowFloatTextPrompt("未选择分解服装");
+                String str = "";
+                if (_ui.m_c1.selectedIndex == 0)
+                    str = "未选择分解服装";
+                else
+                    str = "未选择分解技能书";
+
+                PromptController.Instance.ShowFloatTextPrompt(str);
                 return;
             }
             long consumeCount = cfg.consumeCount * _decomposeCount;