using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; public abstract class WarehousePanelController : DraggablePanelController { public override void BuildPanelContent(List> elements) { base.BuildPanelContent(elements); ClearSlots(); } public override void ClearSlots() { foreach (ItemSlot ChestSlot in ChildBoxList) { ChestSlot.ResetSlot(); } } public abstract override void BuildPanelSlots(); public abstract override GameObject BuildSlot(int key, GameObject _parent); }