浏览代码

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

huangxiaoyue 2 年之前
父节点
当前提交
53d49d0d5f
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      GameClient/Assets/Game/HotUpdate/Views/ClothingDecompose/ClothingDecomposeView.cs

+ 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;