Scriptum/Assets/Scripts/REFACTORING/Application/Panel/Chest/ChestDataListManager.cs

28 lines
690 B
C#
Raw Permalink Normal View History

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