summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/UI/Panel/PanelItemBar/UIItemWidget.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts/UI/Panel/PanelItemBar/UIItemWidget.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/UI/Panel/PanelItemBar/UIItemWidget.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/SurvivalTest/Assets/Scripts/UI/Panel/PanelItemBar/UIItemWidget.cs b/SurvivalTest/Assets/Scripts/UI/Panel/PanelItemBar/UIItemWidget.cs
index d2c6d4d..93ff6f1 100644
--- a/SurvivalTest/Assets/Scripts/UI/Panel/PanelItemBar/UIItemWidget.cs
+++ b/SurvivalTest/Assets/Scripts/UI/Panel/PanelItemBar/UIItemWidget.cs
@@ -24,9 +24,11 @@ public class UIItemWidget : UIGridPropBase
Image_Icon.sprite = ResourceManager.Instance.Load<Sprite>(info.item.iconPath);
- int n = Random.Range(1, 20);
- Text_Count.gameObject.SetActive(n > 1);
- Text_Count.text = n.ToString();
+ //int n = Random.Range(1, 20);
+ //Text_Count.gameObject.SetActive(n > 1);
+ //Text_Count.text = n.ToString();
+
+ Text_Count.gameObject.SetActive(false);
}