소스 검색

卡牌合成补充

zhangyuqian 1 년 전
부모
커밋
2b0473e537
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs

+ 9 - 0
GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs

@@ -176,6 +176,15 @@ namespace GFGGame
                 _ui.m_btnRight.grayed = false;
                 _ui.m_btnRight.touchable = true;
             }
+            ItemCfg item = ItemCfgArray.Instance.GetCfg(_cardData.id);
+            if (item.syntheticTimes > 0)
+            {
+                _ui.m_cardSyntheticBtn.visible = true;
+            }
+            else
+            {
+                _ui.m_cardSyntheticBtn.visible = false;
+            }
         }
 
         private void OnClickBtnLeft()