Scriptum/Assets/Scripts/REFACTORING/Models/Panel/Slot/ShopSlot.cs
kabix09 88ab6bcee7 Add Shop module
Add Shop panel & saving module
2022-12-19 03:34:45 +01:00

27 lines
687 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class ShopSlot : ItemSlot
{
/* public ShopSlot(int number, Item item): base(number, item)
{
}*/
public override bool CanReceiveItem(Item item)
{
return true;
// // allow to put item only when slot is empty
// if(Item == null)
// return true;
// EquippableItem equippableItem = item as EquippableItem;
// return equippableItem == null;
// // what when player try drop putted equipment fowart to chest
// // what when player try put item on unempty field
}
}