summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Managers/PlayerManager.cs
blob: 59593b03c66c38edd731d6dbb10cac5d871e904a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

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>();

	public void Init()
	{
		InitItems();

	}

	public void Update()
	{
		UpdateItems();
	}

	public void SetCrew(CrewScript crew)
	{
		m_Crew = crew;
	}

}