Inventory System

Hmmmm... that's not good. this text will be replaced with an image or gif as soon as possible

Click here to play.

Find my code at


W/S: Move forward/back
A/D: Rotate
E: Open/close inventory
1-8: Select hotbar slot
Mouse: Select items in inventory

About this project

Project category School assignment
Framework Unity WebGL
Syntax C#
Deadline 9 days
Teamg size 1 person

The assignment

The assignment was to be able to create a standalone Inventory script that can
add and delete items.
Furthermore, it was important to be able to swap items inside of the inventory.
As a small detail, instead of using icons, snapshots of the items are taken when
they are picked up and used as inventory icon.

My feedback:
Pro - I made the inventory adjustable using the inspector only.
Con - I didn't make it possible to switch items by dragging them over the inventory screen.