summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-04-24 15:59:07 +0800
committerchai <chaifix@163.com>2022-04-24 15:59:07 +0800
commit6158af99ad803d9e29096ee6f65026d5e0db0f1f (patch)
tree7e9a58f33ad255c721f92a84d6ded8847f8c5b8f /SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
parent1ab081709bbba66a426371e07efe38bc36072453 (diff)
*misc
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs b/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
index 8bd1dd0..95ad08e 100644
--- a/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
+++ b/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
@@ -8,14 +8,11 @@ public partial class PlayerManager : Singleton<PlayerManager>
// 角色
private CrewScript m_Crew;
- // 持有的饰品
- public List<DecorationBase> decorations { get { return m_Decorations; } }
- private List<DecorationBase> m_Decorations = new List<DecorationBase>();
-
public void Init()
{
InitItems();
InitEquips();
+ InitDecorations();
}
public void Update()
@@ -24,6 +21,7 @@ public partial class PlayerManager : Singleton<PlayerManager>
UpdateItems();
UpdateEquips();
+ UpdateDecorations();
}
public void SetCrew(CrewScript crew)