2022-11-06 21:34:17 +01:00
|
|
|
using UnityEngine;
|
2022-11-19 17:02:31 +01:00
|
|
|
using System.Collections.Generic;
|
2022-11-06 21:34:17 +01:00
|
|
|
|
2022-11-19 17:02:31 +01:00
|
|
|
public class ChestDataListManager : DataListManager<ChestPrefabAsset> // or maybe EquippableItem - but its get conflicts...
|
2022-11-06 21:34:17 +01:00
|
|
|
{
|
2022-11-19 17:02:31 +01:00
|
|
|
[SerializeField] protected new ChestUIManager uiManager;
|
2022-11-06 21:34:17 +01:00
|
|
|
|
2022-11-19 17:02:31 +01:00
|
|
|
public new DataListManager<ChestPrefabAsset> SetUiManager(ref ChestUIManager _uiManager)
|
2022-11-06 21:34:17 +01:00
|
|
|
{
|
2022-11-19 17:02:31 +01:00
|
|
|
uiManager = _uiManager;
|
|
|
|
|
|
|
|
return this;
|
2022-11-06 21:34:17 +01:00
|
|
|
}
|
|
|
|
|
2022-11-19 17:02:31 +01:00
|
|
|
|
|
|
|
public override void AddElementToList(ChestPrefabAsset newElement)
|
2022-11-06 21:34:17 +01:00
|
|
|
{
|
2022-11-19 17:02:31 +01:00
|
|
|
Elements.Add(newElement);
|
2022-11-06 21:34:17 +01:00
|
|
|
}
|
|
|
|
|
2022-11-19 17:02:31 +01:00
|
|
|
public override void RemoveElementFromList(ChestPrefabAsset element)
|
2022-11-06 21:34:17 +01:00
|
|
|
{
|
|
|
|
throw new System.NotImplementedException();
|
|
|
|
}
|
2022-11-19 17:02:31 +01:00
|
|
|
|
|
|
|
//public void AddElement
|
2022-11-06 21:34:17 +01:00
|
|
|
}
|