Drag and drop your items from your inventory into your hotbar slots and get using them! Also adding in saving for our hotbar by reusing out inventory saving.
A lot of reusing what we've done previously, so check out these inventory videos below:
Inv UI: • Drag and Drop Inventory UI - Top Down...
Inv Saving: • Inventory Slot Saving for Draggable I...
Get the Code: / hotbar-with-item-119425673
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 COMPLETE platformer playlist!
• FULL Platformer Tutorial Series - Uni...
BUY THE COMPLETE PLATFORMER GAME TEMPLATE NOW!!!
https://gamecodelibrary.itch.io/2d-pl...
/ shop
#unity #gamedev #gamedevelopment #unity2d #topdown
0:00 - Intro
0:36 - Hotbar UI
1:38 - HotBar Script
4:50 - Use Item
5:44 - Saving (Copied from Inventory!)
6:28 - Add to SaveData class
6:40 - Add to SaveController
7:13 - Hotbar Setup
7:23 - Working Test
7:58 - Finished!
8:23 - Outro
Смотрите видео Hotbar with Item Usage and Saving - Unity 2D Top Down #12 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Game Code Library 07 Январь 2025. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 338 раз и оно понравилось 37 посетителям.