public void ShelfNewItem(Item item) { if (selectedButton != null) { ShelfSpace shelf = selectedButton.GetComponent <ShelfSpace> (); if (shelf.AvalibleSlot()) { shelf.AddItem(item); inv.RemoveFromItems(item); } } }
//Constructer from Area public Area27(string areaName, ImmutableArray <ItemType> availableWares, Station[] stations, ShelfSpace shelfSpace) : base(areaName, availableWares, stations, shelfSpace) { }