summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-04-24 19:10:43 +0800
committerchai <chaifix@163.com>2022-04-24 19:10:43 +0800
commitd69adc7009c7953749b59ace2518c0a7c99faa47 (patch)
tree113b15cd7861b600dc001ab203999fd59adb26f1 /SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs
parent6158af99ad803d9e29096ee6f65026d5e0db0f1f (diff)
+ light saber
Diffstat (limited to 'SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs b/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs
index ecb6ea1..9025984 100644
--- a/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs
+++ b/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs
@@ -17,6 +17,8 @@ public class UIItemBar : MonoBehaviour
public void Set()
{
+ m_ItemTempalte.gameObject.SetActive(false);
+
for (int i = 0; i < PlayerManager.Instance.items.Count; ++i)
{
ItemWidget widget = MakeItemWidget(PlayerManager.Instance.items[i]);