using System; using System.Linq; using UnityEngine; using UnityEngine.UIElements; public class ResourceStorage : InventoryHolder { private readonly IInventory _inventory; public override IInventory Inventory => _inventory; public ResourceStorage() { _inventory = new VirtualInventory(); } }