Hello, i'm new on this, and I do not know how to do some things.
What i want to do is an inventory that changes the weapons by pressing a key.
At first you have the punch, then later you take the other weapons.
By pressing the same key, if you are not overlapping a weapon, change the weapon.
Punch->Gun and Gun->Punch
If you have more than 2 it would be:
Punch->Gun->Sword Sword->Punch
Here are some images:
puu.sh/ynuXN/658e52c932.png
puu.sh/ynv7Q/20518813f1.png
puu.sh/ynvaK/424a12631b.png
How can I do this?