From 6158af99ad803d9e29096ee6f65026d5e0db0f1f Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 24 Apr 2022 15:59:07 +0800 Subject: *misc --- SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs') 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 // 角色 private CrewScript m_Crew; - // 持有的饰品 - public List decorations { get { return m_Decorations; } } - private List m_Decorations = new List(); - public void Init() { InitItems(); InitEquips(); + InitDecorations(); } public void Update() @@ -24,6 +21,7 @@ public partial class PlayerManager : Singleton UpdateItems(); UpdateEquips(); + UpdateDecorations(); } public void SetCrew(CrewScript crew) -- cgit v1.1-26-g67d0