public void Remove(Equipment equipment) { Equipments.Remove(equipment); }
public void CreateNewData() { var equipment = Equipment.Create(GameModel.Instance.Masters.Equipment.Datas.First(e => e.id == 1)); Add(equipment); }
public void Add(Equipment equipment) { Equipments.Add(equipment); }
public void LoadData() { JSONObjectExtension.ToStringList(PlayerPrefs.GetString(key)).ForEach(e => Add(Equipment.Create(e))); }