How To Create Inventory Hotbar in Unity From Scratch! #2

preview_player
Показать описание
This is the second and the last part of making the basic Unity hotbar. In this video, you will learn how to add items that you can pick up and also be able to throw away the items that you have in your inventory. We will add some basic graphics for the UI like the text that shows when you can pick up some items and also the hotbar UI so you can see the items that you have in your hotbar and the currently selected item.

🌟 Support My Work and Unlock Exclusive Content! 🌟

🎮 Join Our Developer Community!

💖 Support Me Financially

Timestamps:

0:00 Intro
0:12 Items pick up
1:51 Throwing items
3:16 Adding UI elements
5:56 Outro
Рекомендации по теме
Комментарии
Автор

Hey I just wanted to thank you for this video, you are the only person I found to teach me how to do this, and im very happy that you did this video, you saved me alot of headaches

Ignaciodev
Автор

hello! can u teach how to add a limit of itens in the hotbar? i just want 3 itens in the inventory at the same time, if u want another one, you have to left one. can u help me?

cristhyanjheymes
Автор

Why do images not appear for me in the ui? Should I add images containing items or what?

teach-wz
Автор

i am confused about this. Do you still have the original prefabs on your player that was created on the first video? Why would I create another prefab?

oracleplays
Автор

Hey I'm having a problem Assets/PlayerInventory.cs(55, 82): error CS1061: 'IPickable' does not contain a definition for 'ItemScriptableObject' and no accessible extension method 'PowerupScriptable' accepting a first argument of type 'IPickable' could be found (are you missing a using directive or an assembly reference?)

JayV
Автор

why cant i pickup the weapon when i look at it with my camera? Is there something I am missing?

oracleplays
Автор

Hey! Is there also a chance that you can do this on mobile? :)

ardee
Автор

can you please doing exsample as minecraft inventory i have some button and like select witn scroolwheel mouse frome prefab i can istance object

micheleguardabasso
Автор

Hello. Is there any chance that you can make a tutorial on how to save a JSON file to Google cloud ? :)

adslpiulentoditalia
Автор

When I start the game, I get these two errors, how can I fix them?

1- IndexOutOfRangeException: Index was outside the bounds of the array.
PlayerInventory.Update () (at

2- Animator is not playing an AnimatorController
(int)
PlayerInventory:Update () (at

jacobstar_
Автор

get error : NullReferenceException: Object reference not set to an instance of an object
PlayerInventory.Update() (at

autoadventurez