Тёмный
No video :(

PROPER Way to Inventory in Unity with Scriptable Objects! #1 - Getting Started 

ErenCode
Подписаться 4,9 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@Munsonplayz
@Munsonplayz 8 месяцев назад
Even now in 2023 when Unity may seem hard, this helps me out so so so much and I'm glad I stumbled upon your channel. Thank You So Much Eren!
@bramwolters1393
@bramwolters1393 3 месяца назад
This is one of the best videos on the internet. but i do have 1 issue. this error keeps popping up and i dont know how to fix it: Assets\Inventory\ItemClass.cs(5,23): error CS0263: Partial declarations of 'ItemClass' must not specify different base classes
@odriden1696
@odriden1696 Год назад
Hands down the best video I've encountered explaining inventory systems in an understandable way. I keep on watching tutorials and they get overwhelming halfway. The way you break it down and explain it is really helpful!
@tomoyaokazaki2138
@tomoyaokazaki2138 5 месяцев назад
I've been searching for Inventory Tutorials and none of them have worked. But this one has the same exact outcome for me as it showed in your video. I hope it stays that way for the second half of your video :D gonna watch it now, thank you! And for the record, your choice of coding in the scripts felt a lot more fun than the other tutorials! Keep it up! Simple and fun to play with, and best of all, I had NO issues whatsoever for once!
@NightRunStudio
@NightRunStudio Год назад
Love this video! So helpful, with really clear instructions. I love how you explain each line as you go. I've dabbled in Scriptable Objects before, but this is the first time I've really actually understood how they work. Thanks so much!
@ErenCode
@ErenCode Год назад
Glad it was helpful! :D
@topher-two-four
@topher-two-four 3 месяца назад
Your explanations are very helpful, and your humor is amazing. Thank you for this tutorial series!
@baguette1014
@baguette1014 Год назад
Holy Moley, even though this is the first video , this has been the most informative video I have watched in a while.
@klipseracer
@klipseracer Год назад
Hey man I have watched a number of videos and many are overly drawn out. I subscribed to you based on this video to support you, I think you did a good job, straight to the point and I'll be using this. Thanks, keep it up.
@ReykPlay
@ReykPlay 2 года назад
great video, continue with this series I will look forward to...
@ErenCode
@ErenCode 2 года назад
More to come!
@akhilldhilipkumarkalaiyara1601
@akhilldhilipkumarkalaiyara1601 6 месяцев назад
Due to the way the classes work, could you make a armor class, and make a seperate armor "inventory", and make it only accept armorclasses?
@marcomauri9673
@marcomauri9673 2 года назад
On 8:49 you can simply press "Alt+enter" and it will autoComplete what is missing! :)
@ErenCode
@ErenCode 2 года назад
I try to minimise the use of shortcuts in tutorials to make it easier to follow along! :D
@LostGameDev
@LostGameDev Год назад
This is so well put together and explained!
@_buffer
@_buffer 2 года назад
YES!
@Sovereing2027
@Sovereing2027 4 месяца назад
"Quack!?" The best part.
@petermoss7387
@petermoss7387 Год назад
Why doesn’t this have more views this is great
@MrbeanGaming
@MrbeanGaming 2 года назад
Just had to read up on why you did what you did after watching, but then it made sense. so nice vid heh
@ErenCode
@ErenCode 2 года назад
appreciate it! :D
@ImBoyCryWolf
@ImBoyCryWolf Год назад
Hey, how do the "GetEtc { return this;}" functions get implemented? So far I don't understand the necessity of that function yet!
@trbrynee
@trbrynee Год назад
followed same exact instructions, getting 17 errors and after creating folder there's no "Item" XD wonder what went wrong (until 15:24) Some aren't recognizable too like: when I call "Sprite" Writing public abstract ToolClass GetTool(); in ItemClass.cs Using Unity 2021.3.13f1
@tobiasveith4838
@tobiasveith4838 2 года назад
I would appreciate a video about mob spawning / ai. Or a water tutorial
@ErenCode
@ErenCode 2 года назад
Coming soon!
@cast5439
@cast5439 Год назад
hey i don't get any of the errors your talking about ? is that good.
@rediculai2584
@rediculai2584 2 года назад
can u explain what 10:45 - 11:30 does im not use to all these words thrown at me at once
@moritzjantzen8612
@moritzjantzen8612 2 года назад
how can i change the duability ore level in the text?
@ErenCode
@ErenCode 2 года назад
Not sure I fully understand your question, could you explain in a little more detail? :D
@moritzjantzen8612
@moritzjantzen8612 2 года назад
@@ErenCode I want to know how to e.g. on a pickaxe, the durability per hit is reduced by 1
@moritzjantzen8612
@moritzjantzen8612 2 года назад
@@ErenCode or another example. If someone wants to enter a name for his old ones, for example, he wants to change the name of his captive animal
@ErenCode
@ErenCode 2 года назад
@@moritzjantzen8612 all the data specific to a tool, can be stored on the tool class itself, just make sure you create an instance of that scriptable object in your inventory. In practice its not to hard, a few quick google searches will point you in the right direction once you understand how scriptable objects work. The hard part is gonna be understanding inheritence and virtual classes etc. It can be a bit confusing at first its quite an advanced programming topic but i promise once you get it, you'll realise its actually quite simple :D and as always, the discord server is open if you have any questions or need help! :D
@moritzjantzen8612
@moritzjantzen8612 2 года назад
@@ErenCode Ah ok Thanks
@juanan_zzz
@juanan_zzz Год назад
why you dont use IBeginDragHandler, IDragHandler, IEndDragHandler in your tutorial?
@ErenCode
@ErenCode Год назад
there's always a better implementation out there! Feel free to use it in your own implementation :D
@gameDev_Pat
@gameDev_Pat 2 года назад
The problem I'm having with using scriptable object for Inventory is that, how do I give items to the user while the game is being played? For example, if a user clears a dungeon and I want to give a random item. But I can't refer to the specific scriptable object. I think I will be able to refer to it if I create some sort of script and attach all scriptable object inside but I don't know if that is the right way to do.
@ErenCode
@ErenCode 2 года назад
You can create run time instances of scriptable objects with randomised parameter or variables using a constructor. A scriptable object is just like any other class, in fact you also could create a whole scriptable object asset via code if you wanted to as well, scriptable objects have a tonne of functionality and are super expandable. But an alternative to them would be to use json files to define items, either or would work, completely up to you and your work flow! :D
@gameDev_Pat
@gameDev_Pat 2 года назад
@@ErenCode Oh I did not know that :o, I wasn't able to find and tutorial on youtube for such use yet but maybe I should go to documentation? But anyway thank you!
@obuqwe
@obuqwe Год назад
uh yeah ive got 60 errors in doing something wrong help
@nullname68
@nullname68 2 года назад
Thanks
@mesutyavuzx
@mesutyavuzx 2 года назад
Eren bey çok akıcı İngilizce konuşuyorsunuz ve eğitici videolarınız çok iyi. Başarılarınızın devamını dilerim, takipteyiz. 🙏
@ErenCode
@ErenCode 2 года назад
Tessekurler! Ben Avustralya da dogudum ve orada yasiyorum, o yuzden ingilizcem daha iyi xD
@mesutyavuzx
@mesutyavuzx 2 года назад
@@ErenCode Biz Türkiye'de garibanız 😂
@mesutyavuzx
@mesutyavuzx 2 года назад
@@ErenCode Lütfen Envanter sisteminin Save ve Load olayını kesinlikle yapın. Birçok tutorial'da bu yok. 🙏
@ErenCode
@ErenCode 2 года назад
@@mesutyavuzx olur!
@codered_dev
@codered_dev 2 года назад
continue this series
@ErenCode
@ErenCode 2 года назад
its not over! :D
@user-ml5tn8qn8j
@user-ml5tn8qn8j 2 года назад
Equipment system and buff stats?
@sanamoawed9522
@sanamoawed9522 2 года назад
Ui toolkit tutorial?
@Panopticon207
@Panopticon207 Год назад
thx
@Goeki_4
@Goeki_4 2 года назад
bro ur tutorials are very nice and i really enjoyed it. But be more confident :D
@ErenCode
@ErenCode 2 года назад
Thanks! :D I will try my best xD
@noniceq2096
@noniceq2096 4 месяца назад
28.04.2024 work
@LearnWithArjun
@LearnWithArjun 2 года назад
my dumb mind forgot to sub lol
@ErenCode
@ErenCode 2 года назад
appreciate the support! :D
@wtbudgie
@wtbudgie 2 года назад
:0 :0 :0 :0
Далее
The Power of Scriptable Objects as Middle-Men
17:41
Просмотров 124 тыс.
Самое неинтересное видео
00:32
Просмотров 371 тыс.
ПРОСТИ МЕНЯ, АСХАБ ТАМАЕВ
32:44
Просмотров 1,8 млн
Creating An Inventory System in Unity
11:03
Просмотров 179 тыс.
Unity3D - Scriptable Object Inventory System | Part 1
31:31
INVENTORY UI - Making an RPG in Unity (E05)
7:50
Просмотров 547 тыс.
2D Инвентарь в Unity - легко
13:10
Просмотров 53 тыс.