summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs b/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
index 59593b0..8bd1dd0 100644
--- a/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
+++ b/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
@@ -8,10 +8,6 @@ public partial class PlayerManager : Singleton<PlayerManager>
// 角色
private CrewScript m_Crew;
- // 持有的装备
- public List<EquipBase> equips { get { return m_Equips; } }
- private List<EquipBase> m_Equips = new List<EquipBase>();
-
// 持有的饰品
public List<DecorationBase> decorations { get { return m_Decorations; } }
private List<DecorationBase> m_Decorations = new List<DecorationBase>();
@@ -19,12 +15,15 @@ public partial class PlayerManager : Singleton<PlayerManager>
public void Init()
{
InitItems();
-
+ InitEquips();
}
public void Update()
{
+ CheckInput();
+
UpdateItems();
+ UpdateEquips();
}
public void SetCrew(CrewScript crew)