Unity3D - Scriptable Object Inventory System | Part 1

In this video we will be using scriptable objects to make an Inventory System for #unity3D
Source Code: github.com/sniffle6/Scriptabl...
If you like this channel, or just Unity in general, consider joining my Discord at: / discord
********************************************************************
● Support me with Brave: brave.com/cod828
♥ Subscribe: bit.ly/2FRWgOi
● Facebook: bit.ly/2DhBC6I
● Twitter: / indie_unleashed
********************************************************************
● Make a Grid with a 1 dimensional array: bit.ly/2sRTpfL
● How to make Snake in Unity Tiny: bit.ly/2UmJHhe
● Climbing System Show off: bit.ly/2FPurq1
********************************************************************

Пікірлер: 774

  • @beri4138
    @beri41384 жыл бұрын

    I watched so many tutorials on this subject. The one by Brackeys, Sykoo, Code Monkey, Blackthornprod... This one is by far the best inventory tutorial, and the only one that I fully understood.

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    thanks a lot! I really appreciate the kind words :) also im glad you were able to understand it!

  • @rupeshpandey6603

    @rupeshpandey6603

    4 жыл бұрын

    @@CodingWithUnity Same with me, Their tutorial were not bad but yours were exactly what I needed. Thanks for much for doing this.

  • @idkidk9204

    @idkidk9204

    3 жыл бұрын

    same :D

  • @_creare_2742

    @_creare_2742

    3 жыл бұрын

    Same :)

  • @xkittencatx

    @xkittencatx

    3 жыл бұрын

    Honestly, same here! No hate to the others, but I was able to absorb this tutorial so much better.

  • @user-jf2rj3zf5v
    @user-jf2rj3zf5v3 жыл бұрын

    If you've stumbled across this video randomly while trying to find a good tutorial on inventory system in unity, you've found what you need. It's a little complicated at first, and there are a lot of rewriting that will be done in the next videos, but it worth it in a long run and you actually learn something following these videos. So thanks for these videos, i hope you'll be able to make new videos again soon!

  • @Sam4Progress

    @Sam4Progress

    5 ай бұрын

    Does he eventually address the limitations of enums? Not that I am complaining, this is good information, but the enums is a limitation for creating a dynamic "item" system.

  • @KekoBit

    @KekoBit

    25 күн бұрын

    Just make sure you always pick the right names for the fields and never change them again, because renaming a field inside of a SO will cause you to lose all your data. That's one nasty thing they rarely mention about SO. You rename a field, and your data is permanently gone (unless you have a copy, of course). So you need to use the horribly clumsy way with [FormerlySerializedAs] attribute, which is reminiscent of programming in 1970'es. Instead of adding a rename option directly n the inspector.

  • @gameboycolor47
    @gameboycolor473 жыл бұрын

    This is hands down one of the best tutorials I've seen on this. Simple straight to the point organized (strangely rare in these Unity tutorials) and from what I've gathered so far extremely flexible. I don't even plan on making an RPG I wanted something for survival horror game and this is perfect.

  • @K0s1166
    @K0s11663 жыл бұрын

    One of the best tutorials I have seen on youtube. Showing what the end result will be, straight to the point and explained well. Exactly what I was looking for. Earned a sub.

  • @DoubleOBond
    @DoubleOBond3 жыл бұрын

    This is exactly what I needed to get into developing a game. Thank you for your detailed explanation that is clear yet short and easy to digest.

  • @botcomborderreaching3518
    @botcomborderreaching35187 ай бұрын

    For those having trouble initializing the ScriptableObject. I had a problem when I started creating the FoodObject everything was fine but when I clicked the values ​​reset. It was because I used the Awake function. When you click, the object is reset because unity calls the Reset() function. So if you want to fix overwriting values, use Reset() instead of Awake(). This worked for me.

  • @dvi6173

    @dvi6173

    5 ай бұрын

    THANK U SO MUCH 🎉❤ i was struggling for like 20 minutes using OnEnable and everything. This worked amazingly

  • @Mr_Wiley
    @Mr_Wiley4 жыл бұрын

    I'm half through this and this is the first Unity content creator I feel obligated to Subscribe to. I'm so impressed at your delivery of information. I've done non stop tutorial/lesson surfing the past couple weeks and this one casually covers many of those I've seen with so much ease... and more. Half way, easy subscribe. I'm just hoping when I click your youtube page I see even more content! Big thank you.

  • @DirtyChance
    @DirtyChance3 жыл бұрын

    Just chiming in to say this was the most in depth tutorial I have found on implementing this and it really helped me a ton. I really appreciate getting right to the meat of how to accomplish this, without spending a lot of time talking about useless bits.

  • @LesusGames
    @LesusGames4 жыл бұрын

    Not only has this helped me plan out my inventory system, it's helped me solve another little headache I've been having which is how to store images in scriptable objects I need to serialize! Kicking myself I didn't think to just use prefabs... So simple! Thank you!

  • @nv7287
    @nv72874 жыл бұрын

    This is such a great tutorial series/channel, especially that you don't take shortcuts but layer it logically piece by piece, taking the time to explain how it all fits together along with ideas on how it could be extended :) Exciting!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Glad you enjoy it! :D

  • @boringNW
    @boringNW3 жыл бұрын

    Oh my god this is amazing. This is the thing I needed to get over the hurdle that's stopped me so many times before. Thank you!

  • @SilverHaze5X
    @SilverHaze5X4 жыл бұрын

    Ok, this was really a good tutorial. Complete, comprehensive, going strait to the point, and no BS. Solid work!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Much appreciated!

  • @thomasreed2883
    @thomasreed28834 жыл бұрын

    Thanks a ton for this tutorial had to search for several days to find one this good, found most others confusing and counter intuitive without the scriptable objects.

  • @vitriolicAmaranth
    @vitriolicAmaranth10 ай бұрын

    Thank you for this. As it turns out, what I needed to solve the issue I was stuck on in trying to make an inventory system from scratch myself was constructors, which I somehow didn't encounter or learn about until now. I don't think you really explained what that was in the video and at first I didn't understand it, but I looked up "constructor" in the C# docs and now it makes perfect sense and makes this whole process much, much easier.

  • @neffthepanda
    @neffthepanda Жыл бұрын

    Great video! I'm trying to make my own 2D game right now and couldn't figure out the inventory part. This has helped me so much and is way better than any other inventory tutorial I've found on KZread before. Everyone else's is so complicated and they do not explain the process as well as you do. Thank you!!!! Will definitely be watching the rest of this series. Even though it is much longer than the rest of similar series, it is worth it 100%.

  • @isaaccunningham59
    @isaaccunningham594 жыл бұрын

    You deserve more subscribers, this is amazing. I couldn't find anything I understood about an inventory system until I came across this. Thank you so much, you've helped so many people, what your doing is great! Keep it up

  • @kippenegg
    @kippenegg4 жыл бұрын

    Much more elegant than my solution would have been and you taught me about ScriptableObjects, great tutorial.

  • @Nenepoo
    @Nenepoo3 жыл бұрын

    you deserve more views man! this help me so much. After watching Brackeys, i still dont understand the grasp of inventory system but the way you explain it, i understand it right away!

  • @Micscope
    @Micscope3 жыл бұрын

    Best inventory tutorial series on the whole internet right now. Stick with it 'till the end and you'll learn quite a lot about game architecture. Then fiddle with it around a little bit and you can apply these concept to a lot of system, like shop system, skill system, etc.

  • @NETRUNNER_03
    @NETRUNNER_034 жыл бұрын

    Brilliant, straight to the point and no nonsense. Thank you so much and keep up the great work dude. I greatly appreciate this video. Liked and subbed!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    thanks a lot!

  • @Karasu416
    @Karasu4164 жыл бұрын

    I went into this extremely pessimistic. There are some very clunky and outdated tutorials on making Inventories and Interaction systems on youtube, but i had to pause this video despite being only 15 minutes in. In these first 15 minutes alone I've learned more than the hours of clunky, messy outdated tutorials i've watched on the topic in the last few days. Thank you so much! Please keep doing what you're doing and making awesome tutorials! I feel by following along I'm actually learning so much more about unity's systems that I didn't know before or how to make use of it better. Thanks a lot! Instant sub!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Thanks alot for the feedback :) Its comments like this that makes the content worth putting out

  • @AGBWBREH

    @AGBWBREH

    4 жыл бұрын

    You've been freed from tutorial purgatory! Congratulations!

  • @Voidyn

    @Voidyn

    4 жыл бұрын

    Can you do this in 2D?

  • @RolandOldengarm
    @RolandOldengarm3 жыл бұрын

    This tutorial is exactly what I was looking for to create my inventory system. Thank you!

  • @KeithK469
    @KeithK4693 жыл бұрын

    Far and away the best inventory tut I have watched. And this is Vid 1!! Thank you for putting this together!

  • @thoringard3811
    @thoringard38114 жыл бұрын

    Cant thank you enough for this video. I have been searching for several days for something to explain how to create an inventory system with scriptable objects and you are the only person who has been able to explain this clearly. This is exactly what I needed! Thanks for this and I hope you continue to make content.

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Really appreciate the comment!

  • @serwetkowywritter1
    @serwetkowywritter14 жыл бұрын

    Amazing tutorial... currently at part 2. It perfectly fits any kind of game you could possibly think of with only minor adjustments. And I like how the code and solutions are constantly changing just as in real-life coding. Thanks to that, it tells a lot about a developer's mindset and teaches different approaches. I was pretty much resigned after watching a few other lazy tutorials and now I'm actually ready to progress with other aspects of my game. 10/10 would (and will) watch again.

  • @serwetkowywritter1

    @serwetkowywritter1

    4 жыл бұрын

    Oh and now you do have the ads, gz!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Thats awesome to hear!

  • @connormyers322
    @connormyers3224 жыл бұрын

    Really helpful, thanks I've learned a lot, I watched code monkey's and implemented his, and I couldn't keep up with all the non-static references, I had to rework the whole thing. Best inventory tutorial I have found!

  • @metaDeWeta
    @metaDeWeta3 жыл бұрын

    This is absolutely fantastic, love the whole series. You are a true hero, thanks a thousand million

  • @diegoalejandromartinezespi6672
    @diegoalejandromartinezespi66722 жыл бұрын

    It is surprising how well you explain and from scratch to avoid getting lost.

  • @bendluhy1312
    @bendluhy13123 жыл бұрын

    Perfect video, i had no idea where to start with an inventory. This not only helped with me getting started but also helped so I can expand and customize this on my own.

  • @Ultratermin8or
    @Ultratermin8or2 жыл бұрын

    By far the best tutorial. First video is better than anything else out there. Can't wait to watch full series

  • @jimbeanbragger9209
    @jimbeanbragger92093 жыл бұрын

    That tutorial was a rollercoaster ride. Glad I got through it with only a few mistakes and ended up with everything working by the end. Thanks for your hard work c:

  • @CodingWithUnity

    @CodingWithUnity

    3 жыл бұрын

    I'm glad you managed to get it working!! Great work c:

  • @AJMarraffa
    @AJMarraffa2 жыл бұрын

    There's a lot of valuable information here, thank you so much! I didn't really understand how inventory systems worked before but it makes a lot more sense now.

  • @liamsnaith6100
    @liamsnaith61004 жыл бұрын

    I have to echo what some others have said and agree that your inventory system video is way easier to follow than some others. I've used this with a grid layout in Unity2D and it works perfectly. Thank you!

  • @tidragolol4438
    @tidragolol44384 жыл бұрын

    This series looks great it's worth an Abo :D keep going

  • @craftalesinc8131
    @craftalesinc8131 Жыл бұрын

    WOW YOU ARE SO UNDERRATED. Best tutorial that I have seen! It is so well explained. I am a beginner at coding, but you were so clear that I actually felt like I was learning + I was able to add some stuff that made it even better. Thank you so much!

  • @TheAtticus82
    @TheAtticus823 ай бұрын

    Here 4 years after upload and this tutorial is still amazing. Thank you!

  • @yoelmartherus980
    @yoelmartherus9804 жыл бұрын

    First inventory system tutorial I watched that actually seems practical. Thanks!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Great to hear!

  • @GaamerGuyys
    @GaamerGuyys Жыл бұрын

    Thank you so much for this tutorial! Every other tutorial I could find was both very complicated and didn't have a very good result. But this it to the point, easy to understand and the result is so worth it!

  • @CodingWithUnity

    @CodingWithUnity

    Жыл бұрын

    Glad it helped you!

  • @Sarishie
    @Sarishie Жыл бұрын

    its been 3 years but it helps me a lot on making inventory, thanks coding with unity, i wish you all the dreams that you had become true, thanks love you

  • @CodingWithUnity

    @CodingWithUnity

    Жыл бұрын

    I wish the same for you. Glad the content has been helpful for you

  • @HappyBell92
    @HappyBell92 Жыл бұрын

    This tutorial was awesome, I learned a lot watching this. This is precisely the inventory system I wanted for my side project game.

  • @teamcw5204
    @teamcw52043 жыл бұрын

    This is a great lesson! Really easy to follow, which makes the concepts easier to learn. I was stuck on this, and now I can't wait to move forward. You definitely earned a sub from me! Cheers!

  • @justmix106
    @justmix1063 жыл бұрын

    i love you so much. every other inventory tutorial on youtube is no where near as good as this

  • @Rioni
    @Rioni4 жыл бұрын

    Awesome tutorial, I've never thought using scriptable objects this way. I'll watch it again tomorrow because there is a lot of content here to learn

  • @DrFross09
    @DrFross093 жыл бұрын

    I finished the entire series a few weeks ago, and I came back to the first video, where my comment will have the most impact, to say, THIS TUTORIAL IS WORTH EVERY SECOND. My game received a huge upgrade from what I learned in 9 parts. if you've been searching for an inventory tutorial video this is THE ONE. (didn't mean to sound like a TV salesman, but i just got this thing to work with the gamepad, I no longer have to touch the mouse at all, and I'm through the roof right now)

  • @CodingWithUnity

    @CodingWithUnity

    3 жыл бұрын

    That's awesome you got it working with a gamepad! Super cool Also thanks a lot for the kind words

  • @kdawgfsho04

    @kdawgfsho04

    3 жыл бұрын

    im making a 2d game will this inventory work for me?

  • @DrFross09

    @DrFross09

    2 жыл бұрын

    @@kdawgfsho04 Yes Of course

  • @mysteriz_madi

    @mysteriz_madi

    2 жыл бұрын

    You got it to work with a gamepad! Could you maybe tell me how you did it? I'm hoping to make an inventory that way cause I want my game to have a retro, played on an old Playstation, feel with no mouse.

  • @DrFross09

    @DrFross09

    2 жыл бұрын

    @@mysteriz_madi it’s been a year so I don’t know exactly what I changed to be able to do that however I do remember that I had to copy most of the mouse code and rewrite it for use with the controller. I’m not exactly an expert with coding, so I think you’ll be able to figure it out, but as of now I’d have to looks through the scripts to find out what I changed. I believe the majority of what I changed is in the userInterface script. Start with changing the click to a button press, you’ll need to make another gameObject variable similar to the one that holds the item when selected with the mouse. All I really did was copy all the input functions and refit them so that they can work with a controller. Recently I managed to break something (after it was working for the better part of a year) and the mouse no longer works properly, which is why I’m not sharing the exact code.

  • @subliminalcastillo2126
    @subliminalcastillo21263 жыл бұрын

    I've been looking for a way to make a runescape inventory/banking system and I LEGITIMATELY FIND a tutorial on how to make a runescape inventory/banking system. I have no words to describe how god damn fucking happy this makes me.

  • @HadiExtreme
    @HadiExtreme4 жыл бұрын

    Those RS references tho xD Scriptable objects are so powerful, I keep finding new uses for them. Great tutorial!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Glad you like them!

  • @lando6583
    @lando65834 жыл бұрын

    This a very clear, precise, and intuitive implementation of scriptable objects! Thank you

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    no problem! Thank you as well!

  • @olieolieolieolie1249
    @olieolieolieolie12492 жыл бұрын

    excellent intro to inventory systems… i like the clearness …i am writing my own and this has pointed me to a better workflow. many thx

  • @marcelosommerlatte2238
    @marcelosommerlatte22385 ай бұрын

    I was having issues with this and spent an entire day figuring out what was wrong. Perhaps Unity has updated something since the video upload. Unity automatically resets the created object after its creation. To manage this, use the Reset() method instead of Awake() to ensure proper initialization and prevent unintended resets. By doing so, each time you reset this object, it will utilize the default values configured in your script.

  • @NoodleFoxYT

    @NoodleFoxYT

    2 ай бұрын

    tbanks ;-;

  • @LaurenceCreates
    @LaurenceCreates4 жыл бұрын

    I have used scriptable objects before but i have never really thought about using it in a multiplayer game. so this video has given me plenty of ideas. thanks mate :D

  • @JesseTheGameDev
    @JesseTheGameDev Жыл бұрын

    KZread really didn't want me to find this video/series. But I finally stumbled upon it after weeks of looking for a inventory/item system video.

  • @krazywulf1983
    @krazywulf19833 жыл бұрын

    love this video im so glad i found it.. its exactly what i wanted i just dident know how to put it into code.. thank you mate for the help in my game.. spent a week talking to wife trying to figure out the code then i found this video and it came together perfectly

  • @NightmarezTerror
    @NightmarezTerror3 жыл бұрын

    Really great tutorial! Everything is explained clearly and this was easy to follow.

  • @viridienne9289
    @viridienne92892 жыл бұрын

    Hi, I'm new to your channel. I'm just as same as some people here, I have watched many tutorials about inventory system from Brackeys, Code Monkey ..etc... I'm not new to Unity, but I still cannot fully understand their logic and code. Yours is the most understandable I have met so far. Thank you for your neat explanation, although the grid layout can make the display code cleaner. You have my subscription.

  • @therendeath4886
    @therendeath48862 жыл бұрын

    Absolutely amazing, and a entire playlist?! even better

  • @greghaas4433
    @greghaas4433 Жыл бұрын

    Phenomenal tutorial. optimal pacing and explanation for beginners. Thank you!

  • @kau3239
    @kau32394 жыл бұрын

    Dude great stuff, the other tutorials out there weren't as concise and well put together as yours.

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Glad you like it!

  • @infiniteai9768
    @infiniteai97684 жыл бұрын

    Can't believe how much this video accomplishes in 30 minutes. Thank you.

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Glad it was helpful!

  • @daleprather3026
    @daleprather30264 жыл бұрын

    This is a fantastic video. Best one I could find on KZread. Helped a lot. Thank you for sharing! Subscribing for sure and looking forward to more of your videos..

  • @crazybobby14
    @crazybobby142 жыл бұрын

    This is the best so far in inventory system. On point and well explained on what each part does. One thing I thought about the inventory part that you showed, was that you could use it like chests or extra bags that you can equip like in Don't Starve. In this video I could understand and expand easily on, where on Code Monkey skips many parts and fast forwards too much where you end up spamming . and , to comprehend whats going on. Plus I hate writing something and then he erases it a few minutes later and writes new stuff like come on... I don't hate his tutorials, is just that those two things gets too irritating after a while.

  • @AwataraGame
    @AwataraGame2 жыл бұрын

    This tutorials really help me, I have developed and use your tutorials and apply this to all of my elements!

  • @jesseweber5601
    @jesseweber56013 жыл бұрын

    I'm only like eight minutes in and I swear to god this is the best unity tutorial on the internet. Not limited to the realm of inventory systems. Just, the best unity guide.

  • @CodingWithUnity

    @CodingWithUnity

    2 жыл бұрын

    we have the same last name :P

  • @exon878
    @exon8783 жыл бұрын

    Love the vid. Goes deeply into the code and showed me and my friend new ways of coding and this will fit perfectly in our new game and we well have great use of this in the future. Earned yaself a sub.

  • @JigJason93
    @JigJason934 жыл бұрын

    This is a brilliant tutorial and helps me alot, thank you sir

  • @victorlapin2080
    @victorlapin20804 жыл бұрын

    Instantly saved the whole playlist for future reference. Great stuff.

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Awesome, thank you!

  • @MuftahDev
    @MuftahDev2 жыл бұрын

    that's the best tutorial for implementing this system, but I had to use Grid layout group instead of doing it manually and it worked just fine, keep it up

  • @mattg1345
    @mattg13454 жыл бұрын

    Please continue this series so many inventory tutorial don't go the distance and never get finishes.

  • @ashfid8987
    @ashfid89874 жыл бұрын

    Okay, I didn’t know you will post this early. I am so happy! Thanks for this!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    No problem! Hope you like it

  • @ashfid8987

    @ashfid8987

    4 жыл бұрын

    Coding With Unity Definitely. I know theres few issues on serializing scriptable object for inventory system that have gameObjects. Will you be focusing on saving system down the line? Love the fact you enjoy Runescape.

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    Yes ill make a video specifically showing how to serialize, save and load the scriptable objects

  • @ashfid8987

    @ashfid8987

    4 жыл бұрын

    Coding With Unity Best youtuber right now. No bullshit haha ❤️

  • @santimen2000
    @santimen2000 Жыл бұрын

    Awesome tutorial! I prefer a more visual way to set up the items in the UI (Like with an auto arranging grid) but the backend part is great stuff, amazing job!

  • @DavelTheAwesomenes
    @DavelTheAwesomenes3 жыл бұрын

    Oh my god. Watching this and realizing you can do whole lot of systems using this way of game development. Thank you.

  • @CodingWithUnity

    @CodingWithUnity

    3 жыл бұрын

    Your welcome, you can check out the open game project unity is doing also. They use SO for their architecture in a lot of places as well

  • @hhcdghjjgsdrt235
    @hhcdghjjgsdrt2352 жыл бұрын

    Oh boy, the first video that actually helped me to learn inventory system as Im very new to unity and also coding. Thank you. sub++;

  • @darrenj.griffiths9507
    @darrenj.griffiths95073 жыл бұрын

    Thank you for the video. Really straight forward to follow and understand. And being British, gotta' love that accent. The way you say bones hahaha

  • @vegazcodez4387
    @vegazcodez43874 жыл бұрын

    Great content and teaching style! Thank you!!!

  • @qiangpanchen6785
    @qiangpanchen67852 жыл бұрын

    a great tutorial about scriptable objects and invevntory basic structrue , thank you so much!

  • @TiffanyGilley
    @TiffanyGilley2 жыл бұрын

    Big thanks for making this. It taught me enough to make my own unique inventory system!

  • @CodingWithUnity

    @CodingWithUnity

    2 жыл бұрын

    That's wonderful to hear!

  • @jeffreydiggs9216
    @jeffreydiggs92163 жыл бұрын

    The cooking game I'm trying to make as my 2nd game ever was already turning into a gigantic mess and I was this close to give up, until I watched your video. THANK YOU SIR !!

  • @CodingWithUnity

    @CodingWithUnity

    2 жыл бұрын

    Im glad I helped make your project a bit easier

  • @deadbroadcastpc
    @deadbroadcastpc3 жыл бұрын

    Very well done! Appreciate the effort put into this!

  • @simoxeh
    @simoxeh2 жыл бұрын

    Great info but definitely taught at a speed that he understands and a lot of different info at once. Definitely good information and I'll likely have to watch a few times to get everything if I don't want to just copy and paste his code and actually understand why he does things

  • @wouwou9146
    @wouwou91463 жыл бұрын

    Dude you just saved my game project

  • @ariyangrami
    @ariyangrami6 ай бұрын

    I love that part in the end you said : this is a pretty " BASIC " way :)))))

  • @tobyparker911
    @tobyparker9113 жыл бұрын

    Thanks for this great tutorial. Liked and Subscribed!

  • @mehmetcancalskan5002
    @mehmetcancalskan50023 жыл бұрын

    Simple is power , thanks for this nice tutorial . I understood every piece of code . =) I can do anything when i understand the logic . thanks again :)

  • @Jake-xo2fo
    @Jake-xo2fo3 жыл бұрын

    You're awesome, that is what I was looking for, thanks!

  • @dinendash1166
    @dinendash11663 жыл бұрын

    I just finished This tutorial and it works exactly like it should. thanks for the info.

  • @CodingWithUnity

    @CodingWithUnity

    3 жыл бұрын

    You're welcome!

  • @DrummyMcDrumface
    @DrummyMcDrumface4 жыл бұрын

    I can't believe this doesn't have more views. Much more optimized than the leading videos and the pacing is near perfect, was very easy to follow along with. Excellent work man. Would love to see a base building tutorial if possible. Similar to Ark or Conan exiles?

  • @DrummyMcDrumface

    @DrummyMcDrumface

    4 жыл бұрын

    subscribed, and put the bell on!

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    thanks a lot! And a base building series would be cool to do, but no promises on if i will be able too

  • @harrison298
    @harrison2982 жыл бұрын

    Thank you for this series, truly.

  • @victor1102
    @victor11023 жыл бұрын

    Thank you sooooooooooooooooooooo much for making this video! So super very helpful! Subbed instantly!

  • @soup8249
    @soup8249 Жыл бұрын

    ive been trying to learn unity all weekend (i started on friday) and ive looked through quite alot of videos and stuff, and this is really top tier man! I love how your explaining what were doing and why so im actually learning and not just copying your answers lol

  • @charatjeeravipoolvarn464
    @charatjeeravipoolvarn4642 жыл бұрын

    Thank you so much. You make it clear and easy to understand.

  • @presidentmariachi4287
    @presidentmariachi42874 жыл бұрын

    First you make bones, then a Monkfish. The RuneScape is strong with this one.

  • @idkidk9204

    @idkidk9204

    3 жыл бұрын

    XDDD yee

  • @zahhym
    @zahhym4 жыл бұрын

    a life saver, thank you so much

  • @marularch
    @marularch9 ай бұрын

    Thanks for the tutorial, it's very helpful for understanding how to use scriptable objects for various cases. Other people already mentioned using a UI grid for layout instead of manually setting where the inventory slot is displayed. Also, creating a method instead of copy-pasting commonly used code is better practice. I used a new method called AddDisplay() and moved the common lines in that one: private void AddDisplay(InventorySlot inv) { var obj = Instantiate(inv.item.prefab, Vector3.zero, Quaternion.identity, transform); obj.GetComponentInChildren().text = inv.amount.ToString("n0"); itemsDisplayed.Add(inv, obj); } Then you can replace those lines with this function as follows: public void CreateDisplay() { for (int i = 0; i { AddDisplay(inventory.Container[i]); } } public void UpdateDisplay() { for (int i = 0; i { if (itemsDisplayed.ContainsKey(inventory.Container[i])) { itemsDisplayed[inventory.Container[i]].GetComponentInChildren().text = inventory.Container[i].amount.ToString("n0"); } else { AddDisplay(inventory.Container[i]); } } }

  • @mrwarzo5130
    @mrwarzo5130 Жыл бұрын

    This is a WAY better than the "Game Dev Guide" trash tuto, thank you man

  • @yahoruz
    @yahoruz4 жыл бұрын

    getting this setup with my already existing ui might be annoying but the extensibility logic is so dope i really have no choice really amazing tutorial

  • @CodingWithUnity

    @CodingWithUnity

    4 жыл бұрын

    You can for the most part strip the UI part out and remake that part and just use the backend Inventory logic, wouldn't be that much work because I'm only feeding info into the UI for the most part. (would have to figure out swapping items tho)

  • @yahoruz

    @yahoruz

    4 жыл бұрын

    @@CodingWithUnity yea i think its easier when you go to the slot based system later so this should be decently easy to implement into mine. thanks again for these video buddy

  • @mtlpgaming
    @mtlpgaming2 жыл бұрын

    A F*cking Legendary Tutorial, you did in 5 minutes what Sykoo couldn't achieve in an Hour...

  • @iggyfer97
    @iggyfer97 Жыл бұрын

    This was amazing. Thank you!

  • @hungrygrimalkin5610
    @hungrygrimalkin56102 жыл бұрын

    This is really a great tutorial, thanks!

  • @fred1541
    @fred15414 ай бұрын

    That's good~ I have been searching for the way how to make my game more flexible while managing so many items in one character

  • @Stratoscaster
    @Stratoscaster5 ай бұрын

    Great tutorial, I know I'm late to the party but instead of setting X_START/Y_START, you can set the anchor of the original prefabs & variant prefabs to top-right in the Inspector. Much faster to do, and then when you create additional variants from the original they will inherit the anchoring.

  • @marinat.j6167
    @marinat.j61673 жыл бұрын

    amazing! thank you for the hard work