12 Item item = collision.GetComponent<
Item>();
InventoryLocation
Describes the type of inventory and count Ex: player inventory or chest inventory
This class will manage all the inventory related operations.
This class holds information of items.
void OnTriggerEnter2D(Collider2D collision)
Get item details from collided object if the item details class attached to that. Print the details f...