lzx 18 timmar sedan
förälder
incheckning
34bc2e873b
1 ändrade filer med 9 tillägg och 9 borttagningar
  1. 9 9
      Assets/Scripts/GameUI/UI/BoxPanel/WidgetItemType2.cs

+ 9 - 9
Assets/Scripts/GameUI/UI/BoxPanel/WidgetItemType2.cs

@@ -75,15 +75,15 @@ namespace Fort23.Mono
 
             Text_Name.text = LanguageManager.Instance.Text(itemInfo.config.itemName);
 
-            if (itemInfo.count.Value > 0)
-            {
-                Text_Count.gameObject.SetActive(true);
-                Text_Count.text = itemInfo.count.Value.ToStringEx();
-            }
-            else
-            {
-                Text_Count.gameObject.SetActive(false);
-            }
+            // if (itemInfo.count.Value > 0)
+            // {
+            //     Text_Count.gameObject.SetActive(true);
+            //     Text_Count.text = itemInfo.count.Value.ToStringEx();
+            // }
+            // else
+            // {
+            //     Text_Count.gameObject.SetActive(false);
+            // }
         }
     }
 }