Now it is time to start creating our custom Data structure InventorySO script. It will hold a List of inventory items and we will use a custom struct to store the data about the items and their quantity.
Link to the tutorial https://youtu.be/xGNBjHG2Oss
Learn to make 2d games in Unity:
https://courses.sunnyvalleystudio.com/
GitHub files: https://github.com/SunnyValleyStudio/Unity-Inventory-system-using-SO-and-MVC
Patreon end project files:
https://www.patreon.com/posts/62105689
Assets used:
https://github.com/sparklinlabs/superpowers-asset-packs
https://paperhatlizard.itch.io/cryos-mini-gui
Starter Project link: https://drive.google.com/file/d/10j_AmqBkjpO9uGjuUXEAgqJfGoOetAAW/view?usp=sharing
Join the discord:
https://discord.gg/RQEtYHz
You can support me through Patreon:
https://www.patreon.com/sunnyvalleystudio
00:00 Intro
00:51 InventorySO script
01:59 InventoryItem struct
04:11 Explaining Struct vs class
07:42 Finishing InventorySO
Download
0 formats
No download links available.
InventorySO script - Inventory System in Unity tutorial P13 | NatokHD