Hey Dothackking,
I bet there is a better way to do this, but I’ll give you tips on how I made mine
Sorry, but I only know java right now :c
Alright, so first, have an InventorySlot texture and save it to a GUIStyle variable. Use this Style to make your inventory grid out of buttons depending on how many slots you want. Once you’re satisfied, create an array of Texture2Ds like so → var InventoryIcons : Texture2D[ ];
Inside this array you need to store all the icons for your items. If you need an idea of how you should make the icons, load up your InventorySlot image in a photo editing software, make a new layer, and draw your desired ItemIcon in the middle. Lastly, just erase the bottom layer and store the new ItemIcon image in your array. I would leave the value 0 in the array empty… For, well — you know, empty slots X)
Now, make an integer array that is the same size as your Inventory. This is where your virtual items are stored. See, when you make the Texture2D array, the value of the texture is basically its “ItemID”. So, the placement value inside the integer array defines the InventorySlot. For example, if you have 36 slots, placement value 14 = InventorySlot 15/ placement value 0 = InventorySlot 1/ etc.
Now the value that is defined in that placement is equal to the item in that slot. So, if:
intArray[5] == 9
and you set 9 in your Texture2D array to a health potion then that means that InventorySlot 6 holds a health potion. Get it? 
Lastly, you’re probably wondering how you make the ItemIcon appear on the InventorySlot. All you have to do is put a line of code above each InventorySlot GUI that draws the texture of the Icon that is inside the specified InventorySlot. This is how it’ll probably look:
GUI.DrawTexture(Rect(Screen.width / 2, 150, 32, 32), InventoryIcons[intArray[0]]);
if(GUI.Button(Rect(Screen.width / 2, 150, 32, 32), “”, InventoryTexture))
{
audio.Play();
}
Alright, that’s just the basics. There is a more complex way to write it where it will all fit within the GUI.Button syntax but I didn’t want to dig you that deep. I’ll let you explore it. You can do so much with this, I promise man. When you click mine, it pulls up the weapon info on the side, an enlarged picture, along with options to equip, drop, hotkey, etc.
Okay, so I’m done. I really hope I helped. I don’t believe I forgot anything! If you run into any problems with it, or if you do want to dig a little deeper, feel free to contact me man! Peace, CTW