FREE SCRIPT for our Drag Handler below :-)
Drag and drop, expandable and simple inventory's are popular in 2D games. In this video we'll get the UI set up for our inventory!
We'll be using the menu UI we made in this video: • Menu UI with Tab Switching - Top Down Unit...
FREE SCRIPT: / free-script-drag-113539544
Full Package and Code: / drag-and-drop-ui-113539243
Download the Top Down Template🐸: https://gamecodelibrary.itch.io/top-d...
Full Playlist: • Top Down Tutorial Series - Unity 2D
Sprite sheet: https://pixel-boy.itch.io/ninja-adven...
All source code for all videos I have made and will make in the future can be found on my Patreon:
/ gamecodelibrary
If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡
Check out the full platformer playlist!
• FULL Platformer Tutorial Series - Unity 2D
BUY THE COMPLETE PLATFORMER GAME TEMPLATE NOW!!!
https://gamecodelibrary.itch.io/2d-pl...
/ shop
#unity #gamedev #gamedevelopment #unity2d #topdown
0:00 - Intro
0:33 - Slot Prefab
2:03 - Slot Script
2:41 - InventoryController Plan
2:58 - InventoryController Script
5:21 - InventoryController Setup
5:51 - Item Prefab
6:50 - ItemDragHandler Script
12:13 - Item Drag and Drop
13:26 - Item Prefab Varient
13:52 - Broken Item Swap :(
13:59 - Fixing the Script!!
14:18 - ItemDragHandler Item Swap Fix
14:52 - Working Test!!
15:06 - Next Video
15:42 - Outro