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

28 lines
690 B
C#

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