summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/UI/Panel/PanelWeaponBar/UIWeaponWidget.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts/UI/Panel/PanelWeaponBar/UIWeaponWidget.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/UI/Panel/PanelWeaponBar/UIWeaponWidget.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/SurvivalTest/Assets/Scripts/UI/Panel/PanelWeaponBar/UIWeaponWidget.cs b/SurvivalTest/Assets/Scripts/UI/Panel/PanelWeaponBar/UIWeaponWidget.cs
index 9a79cbc..11a18be 100644
--- a/SurvivalTest/Assets/Scripts/UI/Panel/PanelWeaponBar/UIWeaponWidget.cs
+++ b/SurvivalTest/Assets/Scripts/UI/Panel/PanelWeaponBar/UIWeaponWidget.cs
@@ -26,10 +26,11 @@ public class UIWeaponWidget : UIGridPropBase
Image_CD.gameObject.SetActive(weapon.autoMode == WeaponBase.AutoMode.Interval);
- 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);
}
private void Update()