In this video we will test our eat food to restore health mechanic. We will use right mouse button click to perform an action on an item which in turn will use our Stat Modifiers to restore health (or affect any other character stat that we want). We will also remove the item from our inventory after we use it.
Link to the tutorial • Inventory System in Unity based on Sc...
Learn to make 2d games in Unity:
https://courses.sunnyvalleystudio.com/
GitHub files: https://github.com/SunnyValleyStudio/...
Patreon end project files:
/ 62105689
Assets used:
https://github.com/sparklinlabs/super...
https://paperhatlizard.itch.io/cryos-...
Starter Project link: https://drive.google.com/file/d/10j_A...
Join the discord:
/ discord
You can support me through Patreon:
/ sunnyvalleystudio
#inventory #unity2d
00:00 Introduction
00:52 Using an object on RMB click
02:53 Using IItemAction
04:07 Testing health restoration
04:48 Removing item after use
05:49 Inventory Remove Item method
Watch video Using inventory Item - Inventory System in Unity tutorial P20 online without registration, duration hours minute second in high quality. This video was added by user Sunny Valley Studio 15 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,888 once and liked it 128 people.