diff options
author | chai <chaifix@163.com> | 2022-04-25 10:19:09 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-04-25 10:19:09 +0800 |
commit | 7eb9351d905ddf6316fd6b177fff967fbac6fc94 (patch) | |
tree | 4ef3844fba1a2ff719178a96b37780b29faacd7c /SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs | |
parent | 8131033510c711248de1904649cfa1dbe4bbe69f (diff) |
* rename decoration to item
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs')
-rw-r--r-- | SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs b/SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs new file mode 100644 index 0000000..6ee4969 --- /dev/null +++ b/SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs @@ -0,0 +1,26 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + + +public partial class PlayerManager : Singleton<PlayerManager> +{ + // µ±Ç°ÊÎÆ· + public List<ItemBase> items { get { return m_Items; } } + private List<ItemBase> m_Items = new List<ItemBase>(); + + + void InitItems() + { + m_Items.Add(new Item_MystreyMask()); + m_Items.Add(new Item_PowerRing()); + m_Items.Add(new Item_Horn()); + m_Items.Add(new Item_Battery()); + m_Items.Add(new Item_SwordSpectrum()); + } + + void UpdateItems() + { + + } +}
\ No newline at end of file |