Back to Browse

Stacking items code - Inventory System in Unity tutorial P17

8.3K views
Feb 11, 2022
16:29

In this video we will modify the InventorySO script to implement stackable items. We will ensure that we first try to add to quantity of the existing items of the same type before we take another slot in out inventory. 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:56 Modifying InventorySO 06:45 Add Non Stackable Items 07:39 LINQ where 09:27 Add Stackable Items

Download

0 formats

No download links available.

Stacking items code - Inventory System in Unity tutorial P17 | NatokHD