Selaa lähdekoodia

招财进宝取消最后一档特殊处理

zhangyuqian 1 vuosi sitten
vanhempi
commit
5e40ae8142

+ 8 - 8
GameClient/Assets/Game/HotUpdate/Views/ActivityMainTips/ActivityZCJBRewardView.cs

@@ -99,14 +99,14 @@ namespace GFGGame
             item.m_List.numItems = ActivityDressCfgArray.Instance.dataArray[index].bonusArr.Length;
 
             //最后一档特殊处理
-            if(index == ActivityDressCfgArray.Instance.dataArray.Length - 1)
-            {
-                item.m_rewardNum.visible = true;
-                int numChange = GameGlobal.myNumericComponent.GetAsInt(NumericType.ActivityDressLastGearRewrdNum);
-                item.m_rewardNum.text = string.Format("已兑换次数:{0}/{1}", numChange, 50);
-                RedDotController.Instance.SetComRedDot(item.m_RewardBtn.target, false);
-            }
-            else
+            //if(index == ActivityDressCfgArray.Instance.dataArray.Length - 1)
+            //{
+            //    item.m_rewardNum.visible = true;
+            //    int numChange = GameGlobal.myNumericComponent.GetAsInt(NumericType.ActivityDressLastGearRewrdNum);
+            //    item.m_rewardNum.text = string.Format("已兑换次数:{0}/{1}", numChange, 50);
+            //    RedDotController.Instance.SetComRedDot(item.m_RewardBtn.target, false);
+            //}
+            //else
             {
                 item.m_rewardNum.visible = false;
             }