Here's an example on how to make an effective inventory system.It's fully commented and supports different inventory sizes and stackable items! This example allows you to store an unlimited amount of variables to each spot so the possibilities are limitless. Saving, loading, changing inventory sizes, and two different selection modes are available.
Here's a link to a compiled example: https://www.dropbox.com/s/ii5w1d3imb5nmxz/Inventory%20Example.exe?dl=0
End User Licence Agreement (EULA).
*Added a way to set the max amount of items that can stack in one spot
*Added an indicator for when the inventory is full
*More bug fixes
Further into the Future
*More transparent variable names
*Extra commenting to help explain more in depth on whats happening in the code
*Equipting items
*Minigame to better show how to use