소스 검색

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

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;